I completely forgot to put the myFile.close call into the write routine. Because the read was not getting all the data, that's where I was looking for the problem. Thanks both for your help. Following up on your answers lead me to the solution. -- Posted via http://www.ruby-forum.com/.