ensure the output file will be closed always.
don't catch expections when loading the CI: there could be other reasons than a wrong CI name for a load to fail.