Added the ability to open txt files