Rearrange filenames.