code: def get_filehandle(self):
          
          if os.path.exists(self.filename):
              self.filehandle = SD(self.filename, SDC.READ)
              logger.debug("Loading dataset {}".format(self.filename))
          else:
              raise IOError("Path {} does not exist.".format(self.filename))
docs: Get HDF4 filehandle.