Please make it:

```javascript
  if (...)
    err.file = ...
```