Opens a file dialog and returns the selected file.
The file types to accept.
A promise that resolves with the selected file, or null if the dialog is canceled.
null
Opens a file dialog and returns the selected file.