Rearrange file states