New feature: allow the streamed content to be stored in a file.