How can I script (js) opening a (short) list of files into the raw converter to merge

I’ve got a list of (raw) files that I want to open into the raw converter and then merge and save the result.

If I use normal open it skips straight to a photoshop full document. How can I access the raw converter from a (uxp) script?

I’ve got the list of files by using getEntries and filter…