file

fun file(successCallback: FileCallback, errorCallback: ErrorCallback = definedExternally)(source)

MDN Reference