toFile

fun toFile(): File?

Converts the URL to a File, if it's a file URL.