# Publish problem

**URL:** <https://forum.kirupa.com/t/publish-problem/331103>\
**Category:** Uncategorized\
**Created:** [May 17, 2013, 9:40am UTC](https://forum.kirupa.com/t/publish-problem/331103 "2013-05-17T09:40:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FJW](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@FJW](https://forum.kirupa.com/u/FJW)\
**Post date:** [May 17, 2013, 9:40am UTC](https://forum.kirupa.com/t/publish-problem/331103/1 "2013-05-17T09:40:07Z")

</div>

Hi  
I have made a very small app to read the contents of a directory. This works just fine.  
However when I publish the app and make installable, when the app loads no files are found even though they are copied to the install dir. Can anyone help on this?  
Best  
Frederick  
\<code\>  
var mfiles:File = File.applicationDirectory.resolvePath(“my\_files”);  
trace(mfiles.nativePath); // …  
filePath.text = mfiles.nativePath;  
if( !mfiles.exists ) mfiles.createDirectory();  
\</code\>
