Renaming files and clean up.