code: def check_for_allowed_file(f):
      
      for ext in SUPPORTED_EXTENSIONS:
          if f.endswith(ext):
              return True
      log.error("Failed upload: Not an allowed file extension: %s", f)
      raise SystemExit
docs: Checks a file extension against a list of seq file exts