Fixed formatting issues.
Don't close all open files by default.

Fixes #3