Can remove `didOpen`, `gotError` and the `waitsFor` below, then replace this with

```
waitsForDone(FileViewController.openAndSelectDocument(path, FileViewController.PROJECT_MANAGER), "FILE_OPEN on file timeout", 1000);
```