 			this.fileRefList.addEventListener(Event.CANCEL, cancelEvent);
 			this.fileRefList.addEventListener(Event.SELECT, selectEvent);
 
-			this.fileRef = new FileReference();
-			this.fileRef.addEventListener(Event.CANCEL, cancelEvent);
-			this.fileRef.addEventListener(Event.SELECT, selectEvent);
+			initSingleFileReference();
 
 			this.files = new Dictionary();
 


			this.fireEvent("Init");
		}

		/**
		 * Event handler for selection cancelled. This simply fires the event out to the page level JS.

		private var id:String;
		private var fileFilters:Array;
		private var multipleFiles:Boolean;
		private var fileRefArray:Array = [];
		private var fileRef:FileReference;

		/**
