private static String getProfileName(@NotNull Element rootElement) {
    for (Element option : rootElement.getChildren("option")) {
      String optionName = option.getAttributeValue("name");
      if ("myName".equals(optionName)) {
        return option.getAttributeValue("value");
      }
    }
    return null;
  }
private static String getProfileName(@NotNull Element rootElement)