Remove and rename files.