updated statistics to work with new flow, also updated readClassifiedFile to get entities into arrayList