There is a very long post somewhere about flies and several folks recommended those car air fresheners in the Vanilla scent. I tried it and believe it or not it really works. I have four hanging in the "pen" and there are very few flies. Before I hung them, you could hear the flies buzzing around when you walked up to the pen. It's cheap and effective.
Mary