Updated driver to read numSamples from .data files