         else {
             file = sections[indexPath.section][indexPath.row]
         }
+        searchController.active = false
         if file.isDirectory {
             let browser = FileList(initialPath: file.filePath)
             self.navigationController?.pushViewController(browser, animated: true)

            quickLook.dataSource = previewManager
            self.navigationController?.pushViewController(quickLook, animated: true)
        }
    }
    
    func filterContentForSearchText(searchText: String) {

    
    override func viewDidLoad() {
        tableView.tableHeaderView = searchController.searchBar
    }
    
    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        self.navigationController?.navigationBarHidden = false
    }
    
    convenience init () {
