canonicalFile

@JvmName(name = "canonicalFileOf")
inline fun File.canonicalFile(): File(source)

canonicalPath but returns a file.