Remove useless bom, remove toks_file function, add MD5 calculation
Simplify the Unicode handling