Remove duplication of method load_data_from_csv()