Added memory file buffer with load and save methods.