Added support for opening files in tabs.