can we make sure that we're reading only text files?