docs: private static String parseProfileName(String trimmedLine) {
          if (trimmedLine.startsWith("[") && trimmedLine.endsWith("]")) {
              String profileName = trimmedLine.substring(1, trimmedLine.length() - 1);
              return profileName.trim();
          }
          return null;
      }