added file management triggers on setKey