}
private void runOnFileInOneGo(String filename, String encoding, boolean listUnknownWords, boolean xmlFiltering) throws IOException {
if (bitextMode) {
//TODO: add parameter to set different readers
final TabBitextReader reader = new TabBitextReader(filename, encoding);
if (applySuggestions) {
Tools.correctBitext(reader, srcLt, lt, bRules);
} else {
Tools.checkBitext(reader, srcLt, lt, bRules, apiFormat);
}