def METHOD_NAME(self, filename: str, contents: str) -> None:
    """Helper to add a file to the zip archive"""
    if filename and contents:
        self.out.writestr(f"{filename}", contents.encode("utf-8"))