Did you already construct a → “Blob” / File-Selector (using an HTML-Component)?
Or how do you select your wished file(s)?
And before we continue, i also first want to ask you, why not using the normal UPLOAD-BUTTON function, like already asked here…

What is your usecase? What are you trying to achieve, creating the wished functionality?