Adds saving of csv file