 	import flash.events.HTTPStatusEvent;
 	import flash.net.URLLoader;
 	import flash.net.URLRequest;
-	import flash.net.URLRequestMethod;	
+	import flash.net.URLRequestMethod;
+	import flash.utils.ByteArray;
 
 	public class FileResource extends AbstractResource
 	{

		{
			return m_loader.data;
		}
		
		public override function bytesLoaded() : int
		{
			return m_loader.bytesLoaded;
		}
		
		public override function bytesTotal() : int
		{
			return m_loader.bytesTotal;
		}
		

			m_loader.load(createRequest());
			//TODO: add error handling
		}

		protected function createRequest() : URLRequest
		{
			var request : URLRequest = new URLRequest(urlByAppendingTimestamp());
