close file objects deliberately