converted data gathering utility to flat file format