Might as well use `with open...`.  Yeaaaah, this doesn't make a huge difference here but just as a matter of consistency.