is a new Path object necessary?   would uri.getPath() be sufficient?