public readonly property selectedFile as FilePath:
Destination selected by the last accepted interaction, or null.
null
print(chooser.selectedFile)