support directory_levels

Only for Local adapter right now, though support should be easy to add for other adapters.  (see issue #151)
Please let me know if this implementation is acceptable & i'll add the option to other drivers where possible.