# `GlyphsFileFormat importFile:fromURL:error:`

*Instance Method*

Import some Data into the existing Font object

## Declaration

```swift
optional func importFile(_ font: GSFont!, from URL: URL!) throws
```

```objc
- (BOOL) importFile:(GSFont *) font fromURL:(NSURL *) URL error:(NSError **) error;
```

```python
importFile_fromURL_error_(font: GSFont, URL: NSURL) -> tuple[bool, NSError]
```

## Parameters

- `font` — An existing, already open Font
- `URL` — The file to import from
- `error` — On return

## Return Value

True if success, False if failure

