Program to create TOC based on files in directory