Opps I forgot I thought of another one.
This is what I did with my baby pygmies.
Find a bottle cap of sorts. Place a small piece of fruit in the cap and place inside the enclosure with the baby chams. The flies will be attracted to the fruit and the baby eventually learn where the food stays and seem to hang out in the area.
Change out the fruit often so it does not mold.