Reading files in an object oriented slim way