# Replace File

Once a contract is executed and filed into the repository, there may be a requirement in future to replace the document. For example, a contract might be filed with only one signature in place, and a user may wish to replace that contract with the fully executed version. In Aerofiler, this can be achieved by clicking "Actions" and then "Replace File":

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

A modal will appear to allow the user to drop in a replacement document:

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

The contract will be immediately replaced. Historical versions are accessible by clicking the "Download" button:

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

Once a document is replaced, prior versions will no longer appear when searching for document text. For example, when searching for "governing law", even if that phrase appeared in both versions of the contract, only matches against the most recent version will display in Aerofiler.


---

# 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://userguidesgitbook.aerofiler.com.au/single-file-view/replace-file.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.
