Get Path from URI

I’m not sure what exactly the goal is, but maybe this helps: