Remove and rename some files.