code: def get_sls_config_file(path, stage, region):
      
      for name in gen_sls_config_files(stage, region):
          if os.path.isfile(os.path.join(path, name)):
              return name
      return "config-%s.json" % stage
docs: Determine Serverless config file name.