Added utils fcns to generate data files.