'Handle success/failure of the FileFinder flow.'

@flow.StateHandler()
def HandleDownloadedFiles(self, responses):

    if responses.success:
        for response in responses:
            self.Log('Downloaded    %s', response.stat_entry.pathspec)
            self.SendReply(response.stat_entry)
    else:
        self.Log('Download    of    file    %s    failed    %s', responses.request_data['path'], responses.status)
