allow setting filename for plot_pdf