AddressMap/AddressFamily have the path, so you can...
# development
w
AddressMap/AddressFamily have the path, so you can run
basename(dirname(path))
there