When you choose **Upload files** on page 1 of a Seller Center AI build, XGenTra sorts each file by its extension: text documents are read as source material, spreadsheets as table data, and most other files (including PDF, PNG and JPG) are only attached as assets. You need at least one text document. Page 2 shows how each file was treated.

> **Applies to:** Seller Center AI build (Create XAGT). Other ways: [Builder.xagt (free, build it yourself)](/hc/xgentra/articles/free-build-guide-en) · [Upload your own file](/hc/xgentra/articles/download-test-and-upload-en) — [compare the three ways](/hc/xgentra/articles/ways-to-make-an-agent-en).

## How is each file treated?

| File types | Shown as | What happens |
|---|---|---|
| md, txt, docx, doc, epub, html, htm, rtf | **Source material** | Read as text. |
| tif, tiff, bmp, webp | Source material | The text in the image is recognized and read. |
| xlsx, xls, csv, json, jsonl, tsv | **Table data** | Read as tables or lists. |
| zip | Archive | Unpacked in the next step, then each file inside is sorted the same way. |
| Anything else (pdf, png, jpg, code files and so on) | **Asset** | Bundled with the agent as an attached file, not read as text. |

Tables, images or code alone aren't enough to build.

### How do I use a PDF or a scan?

The builder doesn't read PDF, PNG or JPG files as text. Convert them in [Knowledge data](/hc/xgentra/articles/knowledge-data-en) first, then choose **Pick knowledge data** in the builder.

### When are assets bundled?

An asset you upload on its own is bundled only if its file name is mentioned in your text materials. Assets that come out of a zip file are always bundled.

### Can I change how a file is treated?

Not on screen. Save the file in a different format and upload it again — for example, export a table as csv so it's read as table data.

## Which files are blocked?

These are rejected for safety:

- executable files and documents with macros
- secret keys and certificates, and files named like .env, id_rsa or credentials
- archives other than zip (rar, 7z, tar, gz and so on)

## What are the size limits?

| Item | Limit |
|---|---|
| One zip file | 99MB |
| All files inside a zip, unpacked | 500MB |
| Number of files inside a zip | 2,000 |
| One file inside a zip | 50MB |

Limits for individual file types are shown on the upload screen and may change. A warning appears on page 2 if the material bundle is very large.

## What if an upload fails?

- Check the file type against the tables above.
- Re-save documents without macros (for example, docx instead of docm).
- Split very large documents or zip files.
- If a zip shows an error on page 2, open it on your computer to make sure it isn't damaged or password-protected.

**Next step:** back to [Seller Center AI build: create an agent from your material](/hc/xgentra/articles/create-an-xagt-en).
