update docs to use file objects in topbar and tabbar