support directory_levels (see issue #151)

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