def METHOD_NAME(inputFp: str | pathlib.Path) -> pathlib.Path:
    '''
    Find the first numbered file path corresponding to the provided unnumbered file path
    ending in ".png". Raises an exception if no file can be found.
    Renamed in v7.  Returns a pathlib.Path
    '''
    inputFp = str(inputFp)  # not pathlib.
    if not inputFp.endswith('.png'):
        raise ValueError(f'inputFp must end with ".png"; got {inputFp}')
    path_without_extension = inputFp[:-1 * len('.png')]
    for search_extension in ('1', '01', '001', '0001', '00001'):
        search_path = pathlib.Path(path_without_extension + '-' + search_extension + '.png')
        if search_path.exists():
            return search_path
    raise IOError(
        f'No png file for {inputFp} (such as {path_without_extension}-1.png) was found.  '
        + 'The conversion to png failed'
    )