template removes itself, so don't register cleanFile for init