vfs.addExtensionMap("bz2", "bz2");
vfs.addMimeTypeMap("application/x-tar", "tar");
vfs.addMimeTypeMap("application/x-gzip", "gz");
vfs.addMimeTypeMap("application/zip", "zip");
vfs.setFileContentInfoFactory(new FileContentInfoFilenameFactory());
vfs.setFilesCache(new SoftRefFilesCache());
String cacheDirPath = AccumuloClassLoader.getAccumuloString(VFS_CACHE_DIR, "");
String procName = ManagementFactory.getRuntimeMXBean().getName();
File cacheDir = new File(System.getProperty("java.io.tmpdir"), "accumulo-vfs-cache-" + procName + "-" + System.getProperty("user.name", "nouser"));
if (!cacheDirPath.isEmpty())
cacheDir = new File(cacheDirPath);