delete

fun delete(path: String)

Deletes the file or directory tree at path (relative to the working directory, or absolute). Deleting a path that does not exist has no effect.