def markup_files_in_subtree(root):
    for dirpath, dirnames, filenames in os.walk(root):
        for filename in filenames:
            extension = os.path.splitext(filename)[1]

            if extension not in markup_file_suffixes:
                continue
            else:
                yield os.path.join(dirpath, filename)
dataset/ETHPy150Open alexras/markupserve/markupserve.py/markup_files_in_subtree/original