Renaming files and cleanup.