# File Server

## How to Overwrite a File in a Vault from the original Directory

| ### What to do:
| Before you can modify a file you need to retrieve it from the vault (Check Out). Once the file has been checked out it cannot be modified by another user until it has been checked in again (Check in). To work through this example, you must first complete the example Retrieve a File from a Vault - Check Out.
| Select Start > Documents > All Documents The Document mask is opened.
| Search for DOC-1120 Ball Pen Description.
| Select the Files tab.
| Select the file to be checked in.
| This operation can be performed with any available file.
| Select Overwrite > In source directory from the context menu.
| Agile e6 will now copy the file automatically into the vault and thus overwriting the existing file with the new one.
| If you have renamed or moved the file to a different location, Agile e6 will no longer be able to find it and will therefore cancel the check-in process with an error message. Please note that the reservation of the document is not canceled automatically. Rename the file with its original name and / or move the file to its check out location before you repeat the check in process.
| Agile e6 does not cancel the reservation. If you wish to cancel the reservation you need to do this in the Document Management.