improved performance
doesn't work but close
works for single-chunk files
about to implement multipipe
multipipe works