File Restructure and modified sleep sort