def METHOD_NAME(path: Union[Path, str]) -> List[str]:
    """Read the text in a file wihout the commented lines.
    A commented line is such that starts with a '#'."""
    with open(path, "r") as f:
        text = [line for line in f.readlines() if not line.startswith("#")]
    return text