def METHOD_NAME(xmlsummary):
    '''return a dictionary of the files the xmlsummary saw as input'''
    returndict = {}
    for file in xmlsummary.file_dict()['input'].values():
        if file.attrib('status') in returndict:
            returndict[file.attrib('status')].update([file.attrib('name')])
        else:
            returndict[file.attrib('status')] = set([file.attrib('name')])
    return returndict