code: public static Config loadStormConfig(File targetFile) throws IOException
      {
          Map<String, Object> yamlConfig = readYaml(targetFile);
          Config stormConf = convertYamlToStormConf(yamlConfig);
  
          // For track update config, has init file path.
          if (stormConf.containsKey(INIT_CONFIG_KEY) == false)
          {
              String absolutePath = targetFile.getAbsolutePath();
              stormConf.put(INIT_CONFIG_KEY, absolutePath);
          }
  
          return stormConf;
      }
docs: Generate storm config object from the yaml file at specified file.
  
  @param targetFile target file
  @return Storm config object
  @throws IOException Fail read yaml file or convert to storm config object.