You can’t, because cryptomator obfuscates the file and folder structure.
What you can do is compare the timestamps, as this I formation is the same for the encrypted files and the u encrypted ones (so that sync clients can do their job). But as soon as you have multiple files in your vault with the same timestamp, this will not work anymore, as you can not tell which cr file Matches the unencrypted file
See also here
If you are an experienced python user, this might interest you: