deleting the new file and changing it back to original file