def METHOD_NAME(
    self, data: bytes, prefix: str = "", prefix2: str = ""
) -> None:
    lines = data.decode("utf-8-sig").split("\n")
    for line in lines:
        if line and line[-1] == "\r":
            line = line[:-1]
        if not line or line.startswith("#"):
            continue
        line = _strip_trailing_spaces(line)
        if line.startswith("!"):
            self.include(line[1:], prefix=prefix, prefix2=prefix2)
        else:
            self.exclude(line, prefix=prefix, prefix2=prefix2)