Use URI to resolve the path