EventScaleFactors/fitFunctions.cc added check whether the pu-dep result file is opened and prints the created file name