Adds files to the TOC.