serve up content from memory instead of from IO.
serve up content from memory instead of from IO.
serve up content from memory instead of from IO.
serve up content from memory instead of from IO.
write fragment to file each time rather than concatenate in memory