add headers to the output files