Textastic adds two actions to Apple’s Shortcuts app: “Get File” and “Open File”.
With this action, you can get the contents of any file available in Textastic. You can enter the path of a file in Local Files, iCloud and external folders.
Use this action to open an existing file in Textastic.
To easily get the correct value for the path parameter, you can open the context menu of a file in Textastic and select “Copy Path”: