$ 0 0 Scala: How to read input from one file while writing output to another file alvin June 14, 2017 - 3:53pm Read more about Scala: How to read input from one file while writing output to another fileLog in to post comments Without much introduction or discussion, here’s a Scala example that shows how to read from one text file while simultaneously writing the uppercase version of the text to a second output file: