Tab content now changes according to file type
Tab content now changes according to file type