Creates an index with links to files from a selected directory.