If your floor is not cleaned properly then the chances of these maggots becoming high. They usually occur in kitchens and messy areas so it is better to keep your house fully cleaned in order to avoid them.