name

external val name: String(source)

The name read-only property of the File interface returns the name of the file represented by a File object. For security reasons, the path is excluded from this property.

MDN Reference