Converted the read() function to the new relax design.
Authored by: bugman 2008-04-10
Parent: [r5571]
Child: [r5573]