reorganize the minimized file