Add support for scanning/discovering new directories from current ones.