Added array_from_file function to pg_to_csv.rb