refactor load_csv.rb