parser now reads from csvs to array