added basic buffer
entire file is in the buffer