Unfortunately the Flash Player is not capable to access the file system (security issues). You can only access the file system by using some third party technology. If your swf runs in a browser you can only access the file system on the server by making a request to a server side technology (like PHP, ASP, JSP, etc.). If you create a projector (executable) then you need to embed your swf with a third party product like Zinc or mProjector.
Hope this helps...