'Change the files to be the new status and hide as appropriate.'

def set_files(self, status, files, hide_disabled_file=False):

    for file in files:
        file.update(_signal=False, datestatuschanged=datetime.now(), reviewed=datetime.now(), status=status)
        if hide_disabled_file:
            file.hide_disabled_file()
