* create split_to_file() function * chapters, html, problems always split * course never split * others based on size of subtree for now