code: public Model parse(File file) throws PomParseException {
          try (FileInputStream fis = new FileInputStream(file)) {
              return parse(fis);
          } catch (IOException ex) {
              LOGGER.debug("", ex);
              throw new PomParseException(String.format("Unable to parse pom '%s'", file.toString()), ex);
          }
      }
docs: Parses the given xml file and returns a Model object containing only the
  fields dependency-check requires.
  
  @param file a pom.xml
  @return a Model object containing only the fields dependency-check
  requires
  @throws PomParseException thrown if the xml file cannot be parsed