Create writecsv