def METHOD_NAME(self) -> Generator[tuple[int, str | None], None, None]:
    """Iterates over the sources in the file."""
    for src_id in range(self.source_count):
        yield src_id, self.get_source_name(src_id)