TextFileToDocument
* add support for single meta dict * reno * reno * mypy * extract to function * docstring * mypy