code: private void categorizeCurrentFile(final Reference ref) {
          final URI currentFile = ref.filename;
          if (listFilter.hasConaction()) {
              conrefpushSet.add(currentFile);
          }
  
          if (listFilter.hasConRef()) {
              conrefSet.add(currentFile);
          }
  
          if (listFilter.hasKeyRef()) {
              keyrefSet.add(currentFile);
          }
  
          if (listFilter.hasCodeRef()) {
              coderefSet.add(currentFile);
          }
  
          if (listFilter.isDitaTopic()) {
              if (ref.format != null && !ref.format.equals(ATTR_FORMAT_VALUE_DITA)) {
                  assert currentFile.getFragment() == null;
                  if (!sourceFormat.containsKey(currentFile)) {
                      sourceFormat.put(currentFile, ref.format);
                  }
              }
              fullTopicSet.add(currentFile);
              hrefTargetSet.add(currentFile);
              if (listFilter.hasHref()) {
                  hrefTopicSet.add(currentFile);
              }
          } else if (listFilter.isDitaMap()) {
              fullMapSet.add(currentFile);
          }
      }
docs: Categorize current file type
  
  @param ref file path