in backends/file.js [27:36]
function FileBackend(opts) {
if (!(this instanceof FileBackend)) {
return new FileBackend(opts);
}
if (!opts.fileName) {
throw new Error('FileBackend: opts.fileName is required');
}
EventEmitter.call(this);
this.fileName = opts.fileName;
}