clean and rename files