title: how to create a file with world readable permission under subdirectory of files directory
body: <p>I need to create files under myapp/files/subdir with global permission in my application. I do this because I use external applications to open some files 
  Using this</p>
  
  <pre><code> FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_WORLD_READABLE);
  </code></pre>
  
  <p>creates file only under files folder. Using </p>
  
  <pre><code>    File dir=new File(Constants.TASK_DIRECTORY);
      dir.mkdirs();
      File file=new File(dir, FILENAME);         
      file.createNewFile(); FileOutputStream fos=new FileOutputStream(file);
  </code></pre>
  
  <p>creates files under subdirectories but with private permissions. I need to find a way to compose those both to create a file in a subdirectory to be world readable</p>
  
  <p>I have been trying a lot of things but none helped me and this was the longest time unanswered question of mine</p>