code: private static Map<String, String> readCweData(String[] files) {
          try {
              final SAXParserFactory factory = SAXParserFactory.newInstance();
              final SAXParser saxParser = factory.newSAXParser();
              final CweHandler handler = new CweHandler();
              for (String f : files) {
                  final File in = new File(f);
                  if (!in.isFile()) {
                      System.err.println(String.format("File not found %s", in));
                  }
                  System.out.println(String.format("Parsing %s", in));
                  saxParser.parse(in, handler);
              }
              return handler.getCwe();
          } catch (SAXException | IOException | ParserConfigurationException ex) {
              System.err.println(String.format("Error generating serialized data: %s", ex.getMessage()));
          }
          return null;
      }
docs: Reads the CWE data from the array of files.
  
  @param files the array of files to parse
  @return a map of the CWE data