Deleting duplicate files created by the file rename