Add new test on unknown coding.
better resource management
check the entire file for UTF8 pattern -> Increase confidence in the detection.