def package_for_editor_signavio(self, spec, filename):
signavio_file = filename[:-len('<STR_LIT>')] + '<STR_LIT>'<EOL>if os.path.exists(signavio_file):<EOL><INDENT>self.write_file_to_package_zip(<EOL>"<STR_LIT>" + self._get_zip_path(signavio_file), signavio_file)<EOL>f = open(signavio_file, '<STR_LIT:r>')<EOL>try:<EOL><INDENT>signavio_tree = ET.parse(f)<EOL><DEDENT>finally:<EOL><INDENT>f.close()<EOL><DEDENT>svg_node = one(signavio_tree.findall('<STR_LIT>'))<EOL>self.write_to_package_zip("<STR_LIT>" % spec.name, svg_node.text)<EOL><DEDENT>
Adds the SVG files to the archive for this BPMN file.