--- title: "list embedded files of PDF/A()" slug: "basic-list-embedded-files" updated: 2026-08-12T07:31:02Z published: 2026-08-12T07:31:02Z canonical: "docs.lobstersoftware.com/basic-list-embedded-files" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # list embedded files of PDF/A() This function creates/fills a list **b** with the names of all files embedded in a PDF/A3 file **a**. The return value is the number of embedded files found, or *0* if an error occurred. ## Parameters | Parameter | Description | | --- | --- | | a | Path to the PDF/A3 file. | | b | Name of the list in which the names of the embedded files are written. **IMPORTANT:** The list is emptied before that, if it already exists. | ## Example We assume that the PDF/A3 file *mya3.pdf* contains two embedded files. | Parameter a | Parameter b | Result | | --- | --- | --- | | ./conf/myfiles/mya3.pdf | mylist | *2* (and the list *mylist* contains the names of the two embedded files) |