module now correctly reacts to new files (emitting their lines and then listening for new ones).  Added a test to check this.  Also added an example program.