Use "with" to open/close files