readResource
Given a 'file:///{path}', we parse the actual path from the URI. Then we do a minimal check (normalize & trivial sandbox check) and read the file from disk if it exists.
Given a 'file:///{path}', we parse the actual path from the URI. Then we do a minimal check (normalize & trivial sandbox check) and read the file from disk if it exists.