New law aims at keeping food out of the trash