made initial TOC that works with linking to subfiles