"On windows, you need to always, always call Close() on file handles before attempting to delete them. This is easy enough to do when the deletion happens near the access like above. But when you're writing a program that touches many thousands of files in a long-lived process, it's very easy to accidentally lose track of one or more of them."<p>Isn't that what `defer` is for?