Makes sure that files are text files