Creates a html index file for each directory.