code: 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());
      }
docs: Restore a {@code JavaPairRDD<Long,List<Writable>>} previously saved with {@link #saveMapFile(String, JavaRDD)}}<br>
  Note that if the keys are not required, simply use {@code restoreMapFile(...).values()}
  
  @param path Path of the MapFile
  @param sc   Spark context
  @return The restored RDD, with their unique indices as the key