removing .txt extensions