have api to read binlog file