code: public static Map<String, Object> readYaml(String filePath) throws IOException
      {
          File targetFile = new File(filePath);
          Map<String, Object> configObject = readYaml(targetFile);
          return configObject;
      }
docs: Read yaml config object from the yaml file at specified path.
  
  @param filePath target file path
  @return config read from yaml
  @throws IOException Fail read yaml file or convert to config object.