Reading a text-formatted record