header rows to files, slightly modified naming scheme