def METHOD_NAME(self, sbom_file: str) -> list[list[str]]:
    """parses SPDX tag value BOM file extracting package name and version"""
    with open(sbom_file) as f:
        lines = f.readlines()
    modules: list[list[str]] = []
    package = ""
    for line in lines:
        line_elements = line.split(":")
        if line_elements[0] == "PackageName":
            package = line_elements[1].strip().rstrip("\n")
            version = None
        if line_elements[0] == "PackageVersion":
            # Version may contain :
            version = line[16:].strip().rstrip("\n")
            version = version.split("-")[0]
            version = version.split("+")[0]
            modules.append([package, version])
    return modules