fix the bugs if the file name doesnot contain a number to indicate the parameter set