pub fn pick_file(accept: &str, on_file: impl FnOnce(String, Vec<u8>) + 'static)
Opens a browser file picker filtered by accept and reads the chosen file’s bytes into on_file.
accept
on_file