Takes all the contents of the selected section or chapter and puts all contents in a separate file with the name of the section. Then an
\input
command is put in place of the original text.