Rename files and deleted unwanted file