walkEachFile

fun Path.walkEachFile(maxDepth: Int = Int.MAX_VALUE, followLinks: Boolean = false, builderAction: FileVisitorBuilder.() -> Unit = {}): Sequence<Path>(source)