Some further code onto #43 about auto deletion using context managers to prevent open files when exceptions are raised