Short answer: No.
Longer answer: No, and why do you want to do so?
You
can have multiple files open at the same time, but in your pseudocode there's no benefit of opening all files at once over opening them one after another. I suspect an
XY Problem.