I want to read in a text file, edit the rows of that text file, and pass that edited "document" in memory to another process without writing the text file and having the other process read in the edited text file. I know I could write the edited file to a string variable and pass that string to the other process but I'm wondering if there's a better way to do that. Thanks in advance.