Re-think closing file objects
Restore stderr suppression