withExtension

fun File.withExtension(extension: String): File