docs: public static JavaPairRDD<Long, List<Writable>> restoreMapFile(String path, JavaSparkContext sc) {
          Configuration c = new Configuration();
          c.set(FileInputFormat.INPUT_DIR, FilenameUtils.normalize(path, true));
          JavaPairRDD<LongWritable, RecordWritable> pairRDD =
                          sc.newAPIHadoopRDD(c, SequenceFileInputFormat.class, LongWritable.class, RecordWritable.class);
  
          return pairRDD.mapToPair(new RecordLoadPairFunction());
      }