def validate_csv(file_path)
      return unless file_path.present?
      File.open(file_path).each do |file_line|
        validated_line = utf_filter(check_utf(file_line))
        @row_id += 1
        if validated_line
          CSV.parse(validated_line) do |row|
            if @headers.empty?
              @headers = row
            else
              @data_hash.merge!(row_to_hsh(row))
              @valid_rows << @data_hash
            end
          end
        end
      rescue StandardError => error
        @error_rows << { row_id: @row_id, text: error.message }
      end
      utf_results = compile_results
    end
def validate_csv(file_path)
      return unless file_path.present?
      File.open(file_path).each do |file_line|
        validated_line = utf_filter(check_utf(file_line))
        @row_id += 1
        if validated_line
          CSV.parse(validated_line) do |row|
            if @headers.empty?
              @headers = row
            else
              @data_hash.merge!(row_to_hsh(row))
              @valid_rows << @data_hash
            end
          end
        end
      rescue StandardError => error
        @error_rows << { row_id: @row_id, text: error.message }
      end
      utf_results = compile_results
    end
* VALIDATE CSV *