Set files as closed when they are closed

* i'm not entirely certain what this information is used for, but it
seems like a good idea for it to be correct