rewrite receiver to use streaming instead of disk cache