New internal fn cleanFiles
Fix to cleanFiles