update to parsing binary files