corrected specification of flagstat_file file name