organizing files by chapter
separate paging into a file with its name