code: def load_path(self, path):
          
          logger.debug("load_path(path=%s)" % path)
          if os.path.isfile(path):
              configtype = self.guess_type(path)
              logger.debug("Detected config type: %s" % self._type_to_str(configtype))
              if configtype in self.TYPES:
                  logger.debug("Opening config for reading")
                  with open(path, 'r') as f:
                      data = f.read()
                  datadict = self.TYPES[configtype]().reverse(data)
                  return self.load_data(datadict)
              else:
                  raise ValueError("Unsupported config type")
          else:
              logger.warn("load_path couldn't find the path: %s" % path)
docs: :param path:
          :type path:
          :return:
          :rtype: