Read in Yama binary format.