code: def _tab_type(self):
          
          with open(self.abspath) as fobj:
              contents = fobj.readlines()
              for line in contents:
                  if 'COMPONENTS' in line:
                      return 'keyword'
              else:
                  return 'fixed'
docs: Private method to define the tab type