def METHOD_NAME(question, pattern=r"\w+_\d{8}"):
    """Search all the Ontology terms in a specific competency question file
    Args:
        question (sts): Filepath to the competency question file
        pattern (regexp, optional): Regular expression of the terms to be searched. Defaults to r"\w+_\d{8}".
    Returns:
        list: List of all the terms covered by the CQ.
    """
    terms = []
    with open(question, "r") as question_file:
        for line in question_file.readlines():
            terms.extend(re.findall(pattern, line))
    return terms