hopefully no merge issue this time. this is the helper function for reading a csv file into a table, with a table reader to come