XML Loading using AS3 - Error

I am currently working on a personal portfolio and I wanted to load in my content dynamically using XML. I was trying to go through the XML tutorial here on Kirupa, but I seem to be missing something.

The error that I receive is Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.

Does anyone know what this error is referring to?

The code I am using is from the tutorial http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg2.htm

Here is my code

var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();

    public function importXML():void {
        xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
        xmlLoader.load(new URLRequest("portfolioData.xml"));
    public function LoadXML(e:Event):void {
        xmlData = new XML(e.target.data);

I am also calling function importXML(); in my first function that I run.