generalize zip generation. Include app.id in filename