Files closed on write