Add RunReadWriter function.
Before it was a little clumsy to use in a server context, especially for large data files where you might not want to hold all the results in memory as a []string. Now, results can be written directly to an output file or os.Stdout as desired.