Implemented method to navigate into selected directory.