After reloading my new computer, I discovered that TeXShop wouldn't open several .tex files. I further discovered that those files were in fact OS X packages. When I looked at the contents, there were files with the same filename as the package, but with extensions like .aux, .log, .pdf (typesetting), .tex (a true TeX file), .gz, and .png
Any idea what program created such a file? The only thing I had loaded on my old computer was MacTeX, but I don't think TeXShop creates such files does it?
I have other .tex files that are indeed text files.