val filesDir = _files.getFilesDir() val file = _files.buildFile { setPath(filesDir, "tmp/aaa.txt") } file.writeText("hello world", "UTF-8") file.forEachLine("UTF-8") { _console.log(it) } file.delete()