---
title: existingFile
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/filedocumentwriteconfiguration/existingfile
---

# existingFile

The file wrapper containing the current document content. nil if the document is unsaved.

## Declaration

```swift
let existingFile: FileWrapper?
```

## See Also

### Writing the content

- [contentType](swiftui/filedocumentwriteconfiguration/contenttype.md)
