Testing for non-text files