Reordering of file