My first answer to your problem would be to recommend that you and your family never bring any type of fruit into your house ever again. I'll give you an alternative method that has proven very successful for many people in your situation. Take a small or medium sized jar or bottle with a relatively small mouth. Glass works the best so that you can follow your fly-trapping progress with time. Next, take a tablespoon of jam or jelly and place it in the bottom of the jar.
Flies like to lay their eggs in fruity things lightly covered with yeast.
Finally, take a piece of heavy paper or fairly light cardboard and make a funnel with a tiny hole. The important thing here is the size of the hole, and this may take a certain amount of investigation to perfect. See, you're going to put the funnel in the jar so the end with the hole sticks into its mouth, and then secure the funnel to the jar around the mouth with tape. After a few days of collection, you should turn your trapped flies loose outside, wash the bottle, and repeat the process. If you have a massive infestation, you might try several traps at strategic points around your kitchen and other rooms.