if(zos == null)
throw new ZipException("IMSCP.putEntry(File file): ZipOutputstream not initialized");
try {
ZipEntry ze = new ZipEntry(entryName);
zos.putNextEntry(ze);
<BUG>BufferedInputStream fis = new BufferedInputStream(new FileInputStream(file));
</BUG>
while ((len = fis.read(buf)) > 0) {
zos.write(buf, 0, len);
}

if(zos == null)
throw new ZipException("IMSCP.putEntry(File file): ZipOutputstream not initialized");
try {
ZipEntry ze = new ZipEntry(entryName);
zos.putNextEntry(ze);
BufferedInputStream fis = new BufferedInputStream(new FileInputStream(file.getAbsolutePath().replaceAll("%20"," ")));
while ((len = fis.read(buf)) > 0) {
zos.write(buf, 0, len);
}
