Changing apps to view text files

I’ve been using Cryptomator for a month or so and am very happy with the way it works. I would like to know if text files can be set to use another app for viewing rather than the internal viewer? The formatting of some of my text files isn’t correctly shown in the internal viewer and it is quite hard to read them.

Click on the arrow down next to the file and select “Open with…”