public EventListener(osbWriter w, int total)
 {
     writer = w;
     this.total = total;
     w.Prog += new ProgressEventHandler(Update);
     currentPercent = 0;
 }
 public void Run(params string[] loc)
 {
     osbWriter writer = new osbWriter(loc);
     writer.Write(foreground, background, pass, fail);
 }