Problem with Cryptomator safe key

Good evening,
I have a serious problem with my Cryptomator safe. I made the mistake of removing the key file from my safe from its location (i.e. the safe folder). I then renamed this file with the extension.txt. As a result, my files in the safe are gone. How do I get my safe back?
Note: I still have the text file containing the key to the safe.
Thank you for helping me to fix this problem.

The masterkey file does not have the extension “txt”. If you have a backup, just rename it to “masterkey.cryptomator” and store it in the root folder of your vault (besides the folder “d” and “m”)

Merci beaucoup. ça marche