Writes CSV files.
path to the file to be written
header of the csv file
Flushes the stream.
Prints the given values as a single record.