deleting the file to rename.