better guess at file format
better sniff of character encoding