message: Prevent errors being emitted when trying to load unsupported file types into a program.
diff: @@ -219,8 +219,12 @@ export class Program {
  // file = <any>genericFile;
  }
  - //notify all listeners about this file change
  + //notify listeners about this file change
  + if (file) {
  this.emit('file-added', file);
  + } else {
  + //skip event when file is undefined
  + }
  return file;
  }
  