How do I add the file name of jpg, tiff, gif, etc., that has been inserted into a printed document

I want to insert jpgs into a document and print the file name of the jpg inside the document. Can this be done?