support files input as buffers
v0.3.3