void (final Printer console, final List<? extends Printable> printables, final boolean skipFileContent) { final Runnable request = () -> { if (skipFileContent) { readFileContentAndPrint(console, null, printables); return; } final File file = hasOutput() ? getFile() : null; synchronized (myFileLock) { readFileContentAndPrint(console, file, printables); } }; invokeInAlarm(request); }