Yes. I'm imagining the string parameter will come in handy. I may even use it to to pass the name of a json file. One that could be saved from the current gui settings. The parsing engine is already completely isolated from the gui, so a headless run would not be terribly difficult to pull off (and saving the run data from a gui session would avoid needing to validate all of that data in the headless session). And though the selected files would be available, it may make more sense for a headless run to simply process all text/html files.
Lots to think about!