parsing library events from csv file