How to export your data as a CSV file