results file now gets stored in temp directory