//Files files = new Files(modules.getModules());
List<ZipFile> zipFiles = new ArrayList<ZipFile>();
for (File currentFile : mode.getFiles()){
ZipFile currentZipFile = new ZipFile();
currentZipFile.setZipPath(currentFile.getRealPath());
if (currentFile.isModify()){
currentZipFile.setTemplate(new TemplateFile(currentFile.getTemplatePath()));
currentZipFile.fillContent(mode);
}
else
currentZipFile.copyContent(currentFile);
zipFiles.add(currentZipFile);
}
//ZipFile zipfile1 = new ZipFile();