void (final Printer console) { if (myFrameworkOutputFile != null) { final Runnable runnable = () -> { final File inputFile = new File(myFrameworkOutputFile); if (inputFile.exists()) { try { final String fileText = FileUtil.loadFile(inputFile); console.print(fileText, ConsoleViewContentType.NORMAL_OUTPUT); } catch (IOException e) { LOG.error(e); } } }; invokeInAlarm(runnable); } }