create a csv file on the fly