Csv export prototype