Clean and rename the files