title: List files recursively in Kotlin
body: <p>to list files in a directory with kotlin, i used list() and listFiles() functions:</p>
  
  <pre><code>File("/tmp").list().forEach { println(it) }
  File("/tmp").listFiles().forEach { println(it) }
  </code></pre>
  
  <p>but, how can i list files recursively?</p>