file method
Implementation
void file(FileCallback successCallback, [ErrorCallback? errorCallback]) =>
js_util.callMethod(this, 'file', [
allowInterop(successCallback),
errorCallback == null ? null : allowInterop(errorCallback)
]);