Buffer file into memory rather than using stream helper