void (String fileName, final String content) { String previousContent = cat(fileName); try { FileUtil.writeToFile(new File(pwd(), fileName), content + previousContent); } catch (IOException e) { throw new RuntimeException(e); } }