splitFileExtension

fun String.splitFileExtension(): Pair<String, String?>