# File Management

### 2.1 Adding Files to Chat

To add files to the chat context:

1. Click the folder icon in the top right to open the file panel.
2. Check the boxes next to the files you want to include.

<figure><img src="/files/wButF5pElhKzo0hEu1rN" alt=""><figcaption></figcaption></figure>

### 2.2 Read-Only Files

Files marked as read-only are displayed with a lock icon. These files can be viewed but not edited through papertlab.

<figure><img src="/files/G3yk3Qgdx7YEKwHGPJ5U" alt=""><figcaption></figcaption></figure>

### 2.3 .papertlabignore

papertlab respects the `.papertlabignore` file in your project root. Files and directories listed in this file will not be shown in the file panel.

Example `.papertlabignore`:

```
node_modules/
*.log
secrets.yml
```

<figure><img src="/files/Wdnv0mxtjcMMquxGQa7B" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.papert.in/papertlab-ui/file-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
