the lazy part of me wants to say "of course the file gets closed afterward, ``sphinx-build`` is only running for 10 seconds" :P