How often are you cleaning the bins?
And if you're noticing soiled spots maybe try taking care of those quickly. Try spot cleaning? And hopefully after a little while of staying on top of the bins and making sure they're constantly in pristine condition, the flies will be no more!