input function/file

reads in the csv file as dict