Emit file events on context.  Closes #45