title: createReadStream().pipe() Callback
body: <p>Sorry in advance, I have a couple of questions on createReadStream() here.  </p>
  
  <p>Basically what I'm doing is dynamically building a file and streaming it to the user using fs once it is finished.  I'm using .pipe() to make sure I'm throttling correctly (stop reading if buffer's full, start again once it's not, etc.)  Here's a sample of my code I have so far.</p>
  
  <pre><code>http.createServer(function(req, res) {
    var stream = fs.createReadStream('&lt;filepath&gt;/example.pdf', {bufferSize: 64 * 1024})
  
    stream.pipe(res);
  
  }).listen(3002, function() {
    console.log('Server listening on port 3002')
  })
  </code></pre>
  
  <p>I've read in another StackOverflow question (sorry, lost it) that if you're using the regular res.send() and res.end() that .pipe() works great, as it calls the .send and .end and adds throttling.  </p>
  
  <p>That works fine for most cases, except I'm wanting to remove the file once the stream is complete and not using .pipe() means I'm going to have to handle throttling myself just to get a callback.  </p>
  
  <p>So I'm guessing that I'll want to create my own fake "res" object that has a .send() and .end() method that does what the res usually does, however on the .end() I'll put additional code to clean up the generated file.  My question is basically how would I pull that off?</p>
  
  <p>Help with this would be much appreciated, thanks!</p>