code: def get_scanner(self, skey):
          
          if skey and self['PLATFORM'] == 'win32':
              skey = skey.lower()
          return self._gsm().get(skey)
docs: Find the appropriate scanner given a key (usually a file suffix).