added tabbed interface; displays file contents