Harmless downloaded files can't be opened
I've recently started having problems opening plain text files which have been downloaded or saved from email attachments in Sequoia. The specific files are text files which contain data used in lighting calculations and have the extensions IES or LDT. They are simple text files, not apps or even PDFs, so I don't understand why MacOS has suddenly started giving them the quarantine attribute.
When I try to open them I get a message "fileame" Not Opened, Apple could not verify "filename" is free from malware that may harm your Mac or Compromise your privacy. The options are Done or Move To Bin. I've tried setting these files to open with Preview, BBEdit etc, but I get this message each time I double click on them. I can however use the File-Open command in these Apps to open the files, but that's very inconvenient.
I can manually remove the restriction from these files using the xattr command, but that's tedious and I work with these files all the time. Does anyone know how to stop certain file types being quarantined in the first place?
MacBook Pro 16″, macOS 15.4