BAI file format parser