In most of the cases the flies were observed ovipositing on wet food
scraps (organic materials in the refuse container). The larvae matured
and migrated through holes or over the top of the cans to pupate under
more favorable conditions in the dry soil near or under the can.