In model class the file name handled by GetInputFileName uses the model parameters dictionary and converts to string. With a file name 'x_hh_bbww_m250.root' but a parameter {'M': 250.0} it will look for the file 'x_hh_bbww_m250.0.root' which does not exist.