Fly problem in my house
Flies (assuming common house flies) are attracted to gaseous chemicals released by decaying things. No decay, no flies. If you have removed the bin and they are still coming in, it's because there are still traces of decaying material attracting them. Clean everything with a strong household cleaner or a solution of diluted bleach.