downloads from safari end up as weird text data file if I change the file name
Recently, files that I download on safari always save as file type "document". the first time I click on it (from the safari downloads folder), it usually opens how I would expect (ie, if I was downloading a powerpoint, it opens in powerpoint when I click on it). But then if I go to where I downloaded it in Finder, and then click on it, it just opens up some textedit file.
The weird thing is this only happens if I rename the download. I have downloads set to asking where to save each time. If I just save it with whatever name was originally there ,no problem. If i change the title though, then I run into the issue. This has been true for pdfs, word documents, powerpoints. I've included an example below, with annotations to try to make the issue clear.
MacBook Pro (M1, 2020)