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);
}