PDF File name according to the content of file

Hello Team!

Is it possible changing the name of the file according to an specific number that is contained inside of the file?

This is the case. What I do is print Pack Slips containing a Purchase Order Number, I’d like that PO number to be reflected in the name of the .PDF file.

Could you please tell me if that is possible?

Thanks a lot.