a streaming interface for archive generation