It sounds like you want those to be steps that come after each other, like some sort of waterfall.
If you want to get with the times, you, the developer, should write a unit test for each file you think shouldn't be deleted on running the application.