def METHOD_NAME(filename):
    """
    Ensure pylint doesn't crash if `next` is incorrectly called without args
    See https://github.com/pylint-dev/pylint/issues/7828
    """
    with open(filename, encoding="utf8") as file:
        next() # attempt to skip header but this is incorrect code
        for line in file:
            yield line