# `GSDocument shouldMonitorFile:`

*Instance Method*

Whether changes to a file of the given type are tracked while the document is open.

## Declaration

```swift
func shouldMonitorFile(_ fileType: String) -> Bool
```

```objc
- (BOOL) shouldMonitorFile:(NSString *) fileType;
```

```python
shouldMonitorFile_(fileType: str) -> bool
```

