moved generally useful routine from readfile.cpp to smallut
Authored by: Jean-Francois Dockes 2011-12-01
Parent(s): [3759c0]
Child(ren): [fdfb77]