What would be the best way to define a two-part extension to be opened by a specific application. Here is what I have done in ~/.config/ranger/rifle.conf but I cannot get what I want
ext nii.gz = MyApplication "$1"
However, MyApplication will never launch with .nii.gz files. My question is where ext is defined, or how would you define a two-part extension here?