title: Error with creating new folder
body: <p>Hello right now Im trying to download some files on my server to my phone with my app. I'm trying to write it on my storage but not on my sdcard!</p>
  
  <p>I have the necessary permissions on my device in the manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" /&gt;
  </code></pre>
  
  <p>This is my code from the DownloaderClass to create new folder. I get the return Download complete... and in the debugger it is showing me the path it is saving it in exactly where I want it, but if I look there .... the folder the Folder should be in is empty.</p>
  
  <pre><code>        //File new_Folder = new File(Environment.getExternalStorageDirectory().getAbsolutePath(), "MY DOWNLOADED FILES");
          String intStorageDirectory = context.getFilesDir().toString();
          File new_Folder = new File(intStorageDirectory, "MY DOWNLOADED FILES");
          if (!new_Folder.exists()) {
              if (!new_Folder.mkdir()) {
                  return "ERROR: mkdirs() failed for directory" + new_Folder.getAbsolutePath();
              }
  
          } else {
              Log.i("Info:", "Folder already exists");
          }
  
          /**
           * Create an output file to store the file for download
           */
  
          inputoutput_file = new File(new_Folder, "downloaded_files.jpg");
  
  
          InputStream inputStream = new BufferedInputStream(url.openStream(), 8192);
          //this will read the information in 1 KB
          byte[] data = new byte[1024];
          int total = 0;
          int count;
  
          OutputStream outputStream = new FileOutputStream(inputoutput_file);
  
          while ((count = inputStream.read(data))!= -1){
              total+=count;
  
              if (file_length&gt;0) {
                  int progress = total * 100 / file_length;
                  publishProgress(progress);
                  outputStream.write(data, 0, count);
                  Log.i("Info:", "Progress: " + Integer.toString(progress));
              }
          }
  
          inputStream.close();
          outputStream.close();
  
          return "Download Complete...";
  
      } catch (MalformedURLException e) {
          e.printStackTrace();
          return "ERROR MalformedURLException" + e.getMessage();
      } catch (IOException e) {
          e.printStackTrace();
          return "ERROR IOException" + e.getMessage();
      }
  
  }
  </code></pre>