Handle more types of text files