chaining bug, more tests, this.file in context object