guess_uri in directory