Add header to output file