Revision number in PDF file name

Hi,

In our plot sheets, we have a line of text for the revision number, i.e. 'B'

Waht I'd like to do is to have this revision letter added to the PDF file names, i.e File_name_B.PDF

How can this be done? using V8 2004 and we use PDF.plt driver

Many thanks in advance!