You'll also have to clean & replace the substrate & any furnishings.....there may be eggs on any of it and if you don't get rid of those, you will never be rid of the flies.