Adapted java reader to read avro results file.