use files as buffers