def iter_filenames(paths, exclude=None, ignore=None):
    if set(paths) == set(('-',)):
        yield '-'
        return
    for path in paths:
        if os.path.isfile(path):
            yield path
            continue
        for filename in explore_directories(path, exclude, ignore):
            yield filename
A generator that yields all sub-paths of the ones specified in
dataset/ETHPy150Open rubik/radon/radon/cli/tools.py/iter_filenames