Deleting the file for renaming