using readable stream no matter what node version