Is it possible to write a method and declare something like
to "scan" through each nodes in the list, and saving to file. I guess I can use
to declare the necessary file stream variables.
Would really appreciate some ideas and tips on how to approach this problem.