fixed Hex number parsing bug in imap_of_a_file