Rearrange file.