Linking TOC chapter lines to the appropriate files