I think it also works to parse the URI with `new URI(path).getPath`