Whoa, when did they add File.write?  This changes everything.

Also, you should probably use interpolation here.