class file reader