Parsing and saving of csv files