file management and unlocking