Filename to legend

Copies the filename into the legend. Using Replace replaces the legend, with Append the filename will be appended to the existing legend.