Fixing some code that might delete input files >_>

(it happened before with a different script)