Remove extraneous files and rename others.