In a study of more than 7,500 people this food linked to "higher cognitive function"