Structured data file IO with OO paradigm