update the name parsering of plot_files