Adding ability to replace cache dao by file system dao.