How can I stop Houseflies from sitting on food?

A couple of days ago I was attending an informal gathering of family members in Delhi. The aroma of freshly cooked biryani came over the…