# `GSOutlineImporter readFile:toLayer:bounds:error:`

*Instance Method*

## Declaration

```swift
func readFile(_ URL: URL, to layer: GSLayer, bounds outBounds: UnsafeMutablePointer<NSRect>?) throws
```

```objc
- (BOOL) readFile:(NSURL *) URL toLayer:(GSLayer *) layer bounds:(NSRect *) outBounds error:(NSError **) error;
```

```python
readFile_toLayer_bounds_error_(URL: NSURL, layer: GSLayer, outBounds: NSRect) -> tuple[bool, NSError]
```

