The changes here are just a convenience for unit tests (similar to the `_forceClose` argument to single-file `FILE_CLOSE`).