Build assignment from csv file