little fix on the way the content of a file is tested