Implement a Virtual File System (VFS) for offline storage in firefox. The VFS should be capable of efficiently managing the contents (web pages, etc) fetched from the web server or simply mirror the web server's file system. And this VFS should be as simple as a single file (like DAT file) and SHOULD NOT be accessible to any application/code other than the plugin you develop for the firefox.