Directory Branch Wise Navigation. Improvement needed