Create csv file from some data