Files.app - how to control which app opens when a file is tapped?

You can select the app to open your file by long pressing your file. In the menu, tap the "share" option and then tap the app that you would like to open your file in.

Long pressing on your file

shows a row of apps that you can open your file in