add plot_filename to fit_res