Learned that reading a file removes the contents of the file

Perhaps this is not true, but that is what is apparently going on at
this point.