My calc files would not open in calc

Hi, i have a calc file that used to open normally when double clicking on it, but suddenly today when double clicking it is trying to open in writer.

Why is this happening? Is the file corrupted?
Thank you for your time

I vaguely remember another question similar to this one (re: Files of one type trying to open in a different component of LibreOffice), but I can’t seem to find it now.

Try to open the file from inside of CALC. And make sure the extension is .ODS not .ODT. Maybe some registration in Windows is changed from another program installation.

Tried but cannot open a new file.

question closed but problem remains unsolved?