code: def detectAllKws(self):
          
          kwslist = []
          for line in self.file_lines:
              # if line.strip() == '': continue
              line = ''.join(line.strip().split())
              if line.startswith("!"):
                  continue
              # if ':' in line and not "line" in line:
              if ':' in line:
                  kw_name = line.split(':')[0]
                  if set(kw_name).difference({'=', '-', '*', '/', '+'}) == set(kw_name):
                      kwslist.append(kw_name)
          return kwslist
docs: Detect all keyword from infile, return as a list
  
          USAGE: kwslist = detectAllKws()