Open a created file in the tab widget instead of doing nothing