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