Rearrangement of files