@ccc .numbers only appears between quotes in my script, thus no collision, I think.
And the same script, unchanged, has worked until 2 weeks ago.
I think that Apple changes some UTI sometimes.
Edit: .numbers only appears in the fil = dialogs.... line
Edit: and my file is named xxx.numbers because it is a Numbers spread sheet file