You don't need to wrap filePair in an array here. This way the event handler will be passed three arguments:
```
function workingSetReplaceHandler(event, newFile, oldFile)
```