rearrange file