extension

val Path.extension: String

Finds an extension of the given Path

Extension is a substring of a Path.getFileName after last dot