external file working, test for valid hexcode