# Deleting a file or a directory

To delete, update, hide or show a file or directory, use the options in the right hand column of the documents listing:

![](/files/-LH9D2kWqcxZ0r4qZeEE)

*Illustration: Documents - Options*

As you will realize yourself, the icons vary depending on the document type. HTML documents offer more possibilities.

The magic wand icon allows you to use the selected document as a template to create other documents. It thus becomes very easy to ensure a consistent visual style for all documents in the same course.

The PDF icon allows you to export the document in a PDF format. This can be particularly useful if you wish to read your course in the train or the plane, where you don't have access to your e-learning platform.


---

# 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.chamilo.org/1.11.x/teacher-guide/first_steps_documents/deleting_a_file_or_a_directory.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.
