I just recently read this about solving the fly problem. They recommended hanging vanilla air fresheners. They say that the vanilla scent helps keeps them away. I honestly have to say I havent tried this but they say it works.
Good Luck with the fly problem.