creates a new index.html file
copies index1.html into it
looks for thumbnail files (one that start with z) and writes the html for each one, consisting of file name and an alt of file creation date concatenated with file name.
copies index2.html into index.html
closes the index.html
creates a log.txt for each directory