code: def pickleFile(self, name, minPartitions=None):
          
          minPartitions = minPartitions or self.defaultMinPartitions
          return RDD(self._jsc.objectFile(name, minPartitions), self)
docs: Load an RDD previously saved using L{RDD.saveAsPickleFile} method.
  
          >>> tmpFile = NamedTemporaryFile(delete=True)
          >>> tmpFile.close()
          >>> sc.parallelize(range(10)).saveAsPickleFile(tmpFile.name, 5)
          >>> sorted(sc.pickleFile(tmpFile.name, 3).collect())
          [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]