Reorganize the file