Converted the read() class method into a module function.
This completes the conversion of all class methods to functions.
Authored by: bugman 2008-08-01
Parent: [r7065]
Child: [r7067]