add docs; make outputFilename false by default