reader = DictReader(f, delimiter=',')
list_of_names.extend([row['name'] for row in reader])
if len(list_of_names) != len(set(list_of_names)):
reader = DictReader(f, delimiter=',')
list_of_names.extend([row['name'] for row in reader])
if len(list_of_names) != len(set(list_of_names)):