Creates file name for regression plots (*.png) from by-variables in plot_reg function
filenamefun(x, by)
x
data.frame
by
column names in x indicating grouping variables
character