> For the complete documentation index, see [llms.txt](https://docs-v3.toucantoco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v3.toucantoco.com/data-management-in-datahub/datasources-in-toucan/managing-files/adding-editing-and-deleting-local-files.md).

# Adding, editing and deleting local files

In this section, we will cover how to:

* Add a file from your computer
* Edit a file
* Delete a file

## Adding a file

Follow the different steps to upload your local file:

1. Drag and drop your file within the green box, or click on the "Add a file" button and select your file within your computer

   <figure><img src="/files/sZy1TBsXyQJNwXyL7Ejj" alt="" width="375"><figcaption></figcaption></figure>
2. Define the settings of your file (consult this [page](/data-management-in-datahub/datasources-in-toucan/managing-files/using-advanced-file-settings.md) for more information about some advanced configurations) to extract data from the file. Note that for files containing several sheets as an Excel file, you can select the sheet that you would like to import as dataset.
3. Click "Save" (on the bottom) and confirm the saving. Your file is now uploaded and should be listed in the files section. Dataset(s) corresponding to your file should also be created, and are accessible in the "Datasets" tab.

{% hint style="info" %}
**Dataset name**

Within the file configuration interface, make sure that the name given to the dataset that will be associated to the file or selected tab (for Excel case) is not used by another dataset.
{% endhint %}

## Editing a file Settings

Follow the different steps for that:

1. Go to "Datasources" tab
2. Click on the "Settings" action within the actions menu of the file you want to edit

   <figure><img src="/files/3aKf2Zpjk1COU1OVUMNX" alt=""><figcaption></figcaption></figure>
3. Reconfigure the settings (refer to this [page](/data-management-in-datahub/datasources-in-toucan/managing-files/using-advanced-file-settings.md) for more information about some advanced configurations) and save your file.

## Deleting a file

In this section, we will see how to delete a file that is not needed anymore for your App.

Follow the different steps for that:

1. Go to the "Datasources" tab
2. Click on the "Delete" action within the actions menu of the file you want to delete

   <figure><img src="/files/3aKf2Zpjk1COU1OVUMNX" alt=""><figcaption></figcaption></figure>
3. Confirm the deletion of the file. If the file you are trying to delete is used by a dataset, you will have a warning message and you will be able to select child datasets that you want to delete.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-v3.toucantoco.com/data-management-in-datahub/datasources-in-toucan/managing-files/adding-editing-and-deleting-local-files.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
