simple implementation of cache file system