Use with statement for a bunch of file handling