human
Complete the below
def _find_unused_code(filenames):

    '''':param filenames: List of filenames to check.
    :return: Generator of Result objects.'
    '''
assistant
#Here is the Python program you requested.
    def file_lineno(item):
        return (item.filename.lower(), item.lineno)
    vulture = Vulture()
    vulture.scavenge(filenames)
    for item in sorted(((((vulture.unused_funcs + vulture.unused_imports) + vulture.unused_props) + vulture.unused_vars) + vulture.unused_attrs), key=file_lineno):
        message = 'Unused    {0}:    {1}'.format(item.typ, item)
        (yield Result.from_values(origin='VultureBear', message=message, file=item.filename, line=item.lineno, confidence=CONFIDENCE_MAP[item.typ]))