added a file chooser and tabs