restructure files to split page