code: public void transform(final File inputFile, final File outputFile, final List<XMLFilter> filters) throws DITAOTException {
          if (inputFile.equals(outputFile)) {
              transform(inputFile, filters);
          } else {
              transformFile(inputFile, outputFile, filters);
          }
      }
docs: Transform file with XML filters.
  
  @param inputFile input file
  @param outputFile output file
  @param filters XML filters to transform file with, may be an empty list