---
title: fileURL
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/fileentityidentifier/fileurl
---

# fileURL

A URL that locates a file saved to disk.

## Declaration

```swift
var fileURL: URL? { get async throws }
```

## Discussion

Discussion If the file is saved outside of your app’s container, make sure to surround access to file contents with startAccessingSecurityScopedResource() and stopAccessingSecurityScopedResource().
