Read csv file and capture information in dictionaries