More precise resetting of observers on module CRUD
Safety: close file before throwing exception about unopenable file