Add Attachment file to PDF

Hi all,
I use Delphi 10.3 with PDF creator com object to create PDF, everything works perfectly. Now I like to add attachment files to PDF by adding these command

  PdfJob.SetProfileSetting('AttachmentPage.Enabled', 'true');
  PdfJob.SetProfileSetting('AttachmentPage.Files', 'd:\filelist.xml');

The program will raised exception class EOleException with message "Invalid cast from 'System.String' to 'System.collections.Generic.List'
[[System.String, mscorlib, version =, Culture=neutral, PublicKey Token=b77a5c561934e089]]"

Please advise how to fix it.

Thank you.