I use be bellow code that can also upload file, but I don't know how to process the data next?
let future = async {
let file = rfd::AsyncFileDialog::new().pick_file().await;
file.unwrap().read().await
};
let data = async_std::task::block_on(future);