Returns new text as a string rather than a list.
Resolves #1. Now takes an external file as an argument.