delete and renaming working and tested, file creation problem