Let's say I want to combine several massive files into one and then
One of the great things about Ruby is that you can do file IO in a block:
File.open("test.txt", "r").each_line do |row| puts row end # file closed here
so things get cleaned up automatically. Maybe it doesn't matter on a little script but it's always nice to know you can get it for free.