Your comments

I'd like the ability to 

  1. initiate named shortcut(s) from the share sheet.
    two examples:
    1. pass the file name to another app, with some intermediate processing of my own. (e.g. a python or R file)
    2. pass the selected lines to another app, with some intermediate processing of my own (as above).  
  2.   This would allow me (and others) to use Textastic as a front-end to other apps. (R Analyst or Pythonista)

on my iPad-> Analyser & On my IPad -> R Analyser

The root directory for user documents is Documents in both cases.