Routed all file access through 'with statements.