Import geometry via ShapeDiver API not working?

Hi,
I am trying to make Import Geometry working via ShapeDiver API. But I can’t do that.

I tried with this:
objfile = new File([file], ‘proba.obj’, {type:‘model/obj’});
const param = session.getParameterByName(“Import mesh (obj file)”)[0];
param.value = objfile;
await session.customize();
But its not working.
Can you send some sample of code how to make it works?

Thanks in advanced

You can find two code examples of dealing with file parameters here.