Helper classes for reading and writing with text or log files