The most simple way to do it is just to create an excel or notepad file and read it. And when you want to stop process just write a specific word or symbol that process should end.
Hello,
If the structure of the text is always the same so the easiest way is to use Utility - Strings and just split lines.
Another way is to use regular expressions.