moved ui elements from fileprinter to TextUi