```coffeescript
Model = require 'lib/model'

module.exports = class Template extends Model
  urlRoot: '/api/templates'
  idAttribute: 'filename'
```

Add defaults to File client model
user
```coffeescript
Model = require 'lib/model'

module.exports = class Template extends Model
  urlRoot: '/api/templates'
  idAttribute: 'filename'
  defaults:
    filename: ''
    contents: ''
```
assistant