docs: public Collection<FileAnnotation> parse(final File file, final String moduleName) throws InvocationTargetException {
          try {
              Collection<FileAnnotation> annotations = new ParserRegistry(parsers, defaultEncoding, includePattern, excludePattern).parse(file);
              for (FileAnnotation annotation : annotations) {
                  annotation.setModuleName(moduleName);
              }
              return annotations;
          }
          catch (IOException exception) {
              throw new InvocationTargetException(exception, "Can't scan file for warnings: " + file.getAbsolutePath());
          }
      }