Remove a few more unnecessary newlines
Use the using statement to open files