code: private static Map<String, BundleFile> processLPMFXmls(File wlpInstallationDirectory, CommandConsole console) {
  
          // A map of update file names and the IfixInfo objects that contain the latest versions of these files.
          Map<String, BundleFile> bundleFiles = new HashMap<String, BundleFile>();
          // Iterate over each Liberty Profile Metadata file and process each bundle.
          for (LibertyProfileMetadataFile chklpmf : getInstalledLibertyProfileMetadataFiles(wlpInstallationDirectory, console)) {
              // For each metadata file, list all of the bundle files
              Bundles bundles = chklpmf.getBundles();
              if (bundles != null) {
                  List<BundleFile> bundleEntries = bundles.getBundleFiles();
                  if (bundleEntries != null) {
                      for (BundleFile bundleFile : bundleEntries) {
                          // See if we have an existing entry in the map of existing files. If not, add this one to the map, otherwise
                          // check to see if this file has a more recent date than the one stored. If it does, then
                          // replace the existing one with this new entry.
                          bundleFiles.put(bundleFile.getId(), bundleFile);
                      }
                  }
              }
          }
  
          return bundleFiles;
      }
docs: This method processes all of the Liberty profile Metadata files stores the BundleFile objects containing the BundleSymbolic
  name and version of each bundle against the id of the file that matches the corresponding entry in the ifix.xml.
  
  @param wlpInstallationDirectory - The Liberty install dir.
  @param console - The CommandConsole to write messages to.
  @return - A Map of all bundle file Ids and the BundleFiles from all lpmf xmls.