'Take each file we retrieved and get the history from it.'

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

    if responses:
        for response in responses:
            fd = aff4.FACTORY.Open(response.stat_entry.AFF4Path(self.client_id), token=self.token)
            hist = chrome_history.ChromeParser(fd)
            count = 0
            for (epoch64, dtype, url, dat1, dat2, dat3) in hist.Parse():
                count += 1
                str_entry = ('%s    %s    %s    %s    %s    %s' % (datetime.datetime.utcfromtimestamp((epoch64 / 1000000.0)), url, dat1, dat2, dat3, dtype))
                self.SendReply(rdfvalue.RDFString(utils.SmartStr(str_entry)))
            self.Log('Wrote    %d    Chrome    History    entries    for    user    %s    from    %s', count, self.args.username, response.stat_entry.pathspec.Basename())
            self.state.hist_count += count
