Adding class to compute the distribution of a set of values stored in binary format in a file