Creating new DOM File object from path?


#1

I have a path to a file and I’d like to create a new DOM File object for the corresponding path.
I’m unable to instantiate a DOM File object based on a path. Is this possible?

Use-case: instead of having the user browse for a file, I’d like to instantiate it directly from the path I already have (user right clicked on a file, chose open with my app)