*/
public static boolean zip(Set<String> files, File root, File target) {
// Create a buffer for reading the files
if (target.exists()) return false;
List<VFSItem> vfsFiles = new ArrayList<VFSItem>();
LocalFolderImpl vfsRoot = new LocalFolderImpl(root);
for (Iterator<String> iter = files.iterator(); iter.hasNext();) {
String fileName = iter.next();
VFSItem item = vfsRoot.resolve(fileName);
if (item == null) return false;
vfsFiles.add(item);
}
return zip(vfsFiles, new LocalFileImpl(target));
} // zip