added support for version=2,3 .bin files