restructure document section files