'Add a file to the zip archive.'

def add_file(self, filename):

    self.z.write(filename, os.path.basename(filename), zipfile.ZIP_DEFLATED)
    self._size += os.path.getsize(filename)
    self.processed_size_callback(self._size)
