txtplot docstring + loading file changes

Hi Stefan, I've just made a few small changes in your program. I have added a doc-string to the txtplot explaining what each of the input parameters means and also changed the part of downloading and opening file.