renamed file and deleting