make regression test remove any prior contents
fix placement of files in directories so that files_per_dir actually works, make file numbering start at zero not 1