def split_file(name, record_count)
      counts = row_count_threshold(record_count)
      file_name = local_file(name)
      `#{RailsRedshiftReplicator.split_command} -l #{counts} #{file_name} #{file_name}.`
    end
def split_file(name, record_count)
      counts = row_count_threshold(record_count)
      file_name = local_file(name)
      `#{RailsRedshiftReplicator.split_command} -l #{counts} #{file_name} #{file_name}.`
    end
Splits the CSV into a number of files determined by the number of Redshift Slices
 @note This method requires an executable split and is compliant with Mac and Linux versions of it.
 @param name [String] file name
 @param counts [Integer] number of files