Update CLI Engine to accept an optional filename when processing text.