> For the complete documentation index, see [llms.txt](https://mobiledocs.supgpt.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobiledocs.supgpt.app/chat/chat/attaching-files.md).

# Attaching Files

You can attach text-based files to your message by pressing the ![](/files/YFpzO8oWpcDuxHJismeQ) button located below the prompt bar and then selecting **Files**.

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

The contents of attached files are injected into the message. As long as the message containing the attached files is within the current context window, their content will remain accessible to the model.

**I**<mark style="background-color:yellow;">**mportant**</mark><mark style="background-color:yellow;">: For large files, you may need to adjust the context window limit.</mark>

{% hint style="info" %}
**Hint**: To have continuous access to the content of larger files, it is recommended to utilize the [Search in Files](/tools/search-in-files.md) tool.
{% endhint %}
