code: function(directoryName, cbUpload, cbError) {
      this.directory = directoryName;
      this.name = '';
      this.localPath = '';
      this.virtualPath = '';
      this.onUpload = cbUpload;
      this.onError = cbError;
  }
docs: File upload handler
  @param cbUpload
  @param cbError
  @param directoryName