this extra step offered an additional advantage -- at a time when improper storage conditions meant that many of the army 's foodstuffs were infested with insects , a good soaking in coffee allowed any unwanted maggots or weevil larvae to float to the top of the soldier 's cup , where they could easily be skimmed off .