---
url: >-
  /statelake/scripting-reference/classes/file-connection-class-tflofilecon/filecon.domovetoaudit.md
---

# FileCon.DoMoveToAudit

Returns **True** if the *source* file is anticipating being moved to the audit folder at end of processing. This will be **True** by default for all cases where *source* is a **File Definition**.

By setting this property to **False** you can prevent a file being moved to the Audit folder at the end of processing, when it is a file which is the source for a **Map** or custom script.

When a file is being generated from the *destination* **File Definition** of a **Map**, this property cannot be used to prevent the file being moved by an associated **Outbound Transport**.

Please also refer to [FileCon.AuditDir](/statelake/scripting-reference/classes/file-connection-class-tflofilecon/filecon.auditdir).

**Declaration**: property DoMoveToAudit: boolean;

An example.

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Source.FileCon.DoMoveToAudit:= False;
end;
```
