code: protected void writeFile2Zip(CmsFile file, String name) throws IOException {
  
          ZipEntry entry = new ZipEntry(name);
          // save the time of the last modification in the zip
          entry.setTime(file.getDateLastModified());
          m_exportZipStream.putNextEntry(entry);
          m_exportZipStream.write(file.getContents());
          m_exportZipStream.closeEntry();
      }
docs: Writes a single OpenCms VFS file to the ZIP export.<p>
  
  @param file the OpenCms VFS file to write
  @param name the name of the file in the export
  
  @throws IOException in case of file access issues