add header for output files