I don't know if anybody mentioned this yet, but Bay tree leaves work for me.
I'm not trying to sound all "herby" but since I couldn't find any fly traps floating around the house, I went outside and thought that the strong smelling Bay would work.
I put bay in the chicken coop and the flies...