def METHOD_NAME(self, files, config):
    for root, dirs, filenames in os.walk("."):
        for filename in filenames:
            if filename.endswith(".yaml"):
                new_filename = os.path.join(root, filename)
                markdown_filename = self.generate_yaml_markdown(
                    new_filename, config
                )
                if markdown_filename is not None:
                    f = File(
                        markdown_filename,
                        config["docs_dir"],
                        config["site_dir"],
                        False,
                    )
                    files.append(f)
    mdFile = mdutils.MdUtils(
        file_name=config["docs_dir"] + "/" + self.table_filename
    )
    mdFile.new_header(level=1, title="Tests index")
    for table_name, test_table in self.test_tables.items():
        mdFile.new_header(level=2, title='<span class="tag">%s</span>' % table_name)
        mdFile.new_line("| Name | Description | Scope |")
        mdFile.new_line("| --- | --- | --- |")
        for row in sorted(test_table, key=lambda item: item["name"]):
            mdFile.new_line(
                "| %s | %s | %s |"
                % (row["name"], row["description"].replace("\n", ""), row["scope"])
            )
        mdFile.new_line("")
    mdFile.create_md_file()
    newfile = File(
        path=str(self.table_filename) + ".md",
        src_dir=config["docs_dir"],
        dest_dir=config["site_dir"],
        use_directory_urls=False,
    )
    files.append(newfile)
    return files