---
title: files
framework: corespotlight
role: symbol
role_heading: Type Property
path: corespotlight/searchsource/files
---

# files

A source that retrieves data from the files and directories you specify.

## Declaration

```swift
static var files: SearchSource { get }
```

## See Also

### Searching files and directories

- [files(_:)](corespotlight/searchsource/files(_:).md)
