r1187 + find dirname and handler name only once
[racktables] / gateways /
drwxr-xr-x   ..
drwxr-xr-x - switchvlans