read .bin file