Oops! Terminal is opening all applications with texteditor after Open with:/Change All
Okay, I should have waited two minutes before posting. I went back to the original file that didn't have an extension, right click, info, Open With..., then chose terminal (under utilities). That fixed it.