Changed the read file command to use the shared buffer.