first attempt at parsing csv files