Select and get single file
connection.invokeSelectFileDialog(function(file) { connection.send(file); });