<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _tab_type(self):

 """
 Private method to define the tab type
 """

        with open(self.abspath) as fobj:
            contents = fobj.readlines()
            for line in contents:
                if 'COMPONENTS' in line:
                    return 'keyword'
            else:
                return 'fixed'