code: protected static Map<String, XAREntry> getXarEntriesMapFromXML(File file) throws Exception
      {
          try (FileInputStream stream = new FileInputStream(file)) {
              return getXarEntriesMapFromXML(stream);
          }
      }
docs: Gets the list of entry from a 'package.xml'-like document.
  
  @param file the XML document to parse
  @return the Map of entries contained in the XML document (ordered in the same order as the file)
  @throws Exception if the XML document is invalid or it contains no document list or it doesn't exist
  @since 10.3