basic crud functions for any csv file