Added headers to output files.
Added headers to output files