Hello Nyssa,
I just tested this in my demo environment and it works just fine.
Could you please let me know what is selected in the highlighted field (see screenshot) in the custom action's configuration?
If it's not "File", could you please set it to "File" and let me know if this helps?
Thank you,
Roland