extract csv data from results file for processing