The FileCspReader, which inherits from CspReader, shows you how to write CspReader driver object class.