code: def getInstalledConfig(installDir, configFile):
      
      configPath = os.path.join(installDir, configFile)
      if not os.path.exists(configPath):
          raise FileNotFoundError("No file found at location {}".
                                  format(configPath))
      spec = spec_from_file_location(configFile, configPath)
      config = module_from_spec(spec)
      spec.loader.exec_module(config)
      return config
docs: Reads config from the installation directory of Plenum.
  
      :param installDir: installation directory of Plenum
      :param configFile: name of the configuration file
      :raises: FileNotFoundError
      :return: the configuration as a python object