def parse_txt(self, f, fpath):
        try:
            if self.dedup:
                self.dedup_store = set()

            data = f.read()
            self.handler.print_header(fpath)
            self.parse_page(fpath, data, 1)
            self.handler.print_footer(fpath)
        except (__HOLE__, SystemExit):
            raise
        except Exception as e:
            self.handler.print_error(fpath, e)
dataset/ETHPy150Open armbues/ioc_parser/iocp.py/IOC_Parser.parse_txt