def METHOD_NAME():
    regexTraversal = '.*traversal*'
    with open("AllOptions.yaml") as f:
        for line in f.readlines():
            if (match := re.search(regexTraversal, line)) is not None:
                currentLine = re.findall(r'\[(.*?)\]', line)  # get content inside the brackets
                traversalList = currentLine[0].split(", ")
                for c in traversalList:
                    allTraversals.append(c)
                print(allTraversals)