# Onchain file system

Each Generative collection created on Highlight comes with it's own onchain file system. Creators can use this system to easily upload files onchain, either for decentralized storage purposes, or to reference in onchain NFTs.&#x20;

To make this easy, we offer a CLI that you can use to upload your files to your contracts, and manage your onchain files.&#x20;

Check out our video walkthrough here:

{% embed url="<https://www.youtube.com/watch?v=6gKIRaTqJVE>" %}

For in-depth instructions, visit our [Github repo](https://github.com/highlightxyz/generative-onchain-tools#generative-series-file-system).

If you'd like to store your data on-chain, please see this article [here](https://support.highlight.xyz/knowledge-base/highlight-toolkit/toolkit/on-chain-tools/storing-data-on-chain).


---

# 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://support.highlight.xyz/knowledge-base/for-creators/generative-and-onchain-art-tools/onchain-file-system.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.
