def load_file(file_name)
      File.open(file_name, "r") do |f|
        f.each_line.collect do |line|
          parse_json(line)
        end
      end
    end
def load_file(file_name)
      File.open(file_name, "r") do |f|
        f.each_line.collect do |line|
          parse_json(line)
        end
      end
    end
Load a json file and represent each document as a Hash.

 @example Load a file.
   Benchmarking.load_file(file_name)

 @param [ String ] The file name.

 @return [ Array ] A list of extended-json documents.

 @since 2.2.3