refactored FileBasedSecurityManager for work with block device in future