The filename of the raw text is supplied via the first command line argument to the python script call.
Still a WIP. Needs a faster tagging method (e.g. spacy).