protected BaseLayoutView openNewBrowserTab(File directory) {
        //Inflate the view's layout based on the selected layout.
        BaseLayoutView contentView = null;
        if (mFileBrowserView.getFileBrowserLayoutType() == FileBrowserView.FILE_BROWSER_LIST_LAYOUT)
            contentView = new ListLayoutView(mContext, mFileBrowserView.getAttributeSet(), mFileBrowserView).init(mTabContentLayout);
        contentView.setId(mTabHost.getTabWidget().getTabCount() + 1);
        mTabContentLayout.addView(contentView);
        //Add the new tab to the TabHost.
        String directoryName = directory.getAbsoluteFile().getName();
        TabHost.TabSpec newTabSpec = mTabHost.newTabSpec(directoryName);
        newTabSpec.setIndicator(directoryName);
        newTabSpec.setContent(mTabHost.getTabWidget().getTabCount() + 1);
        mTabHost.addTab(newTabSpec);
        return contentView;
    }
Opens a brand new browser tab.

@param directory The directory to open when this tab is initialized.
core/src/main/java/com/filebrowser/View/TabsContainer.java