use URI to relativize the path between parent directory and path to child