Cleanup directory structure and split large file into logical parts