file position rearranged