Include Filename in Header or Footer

Is there anyway to include the Filename as either a header or footer in the PDF file which is created?