title: File does exists when calling .exists() but can't find it later
body: <p>I'm trying to create a file that is eventually going to hold a picture (EXTRA_OUTPUT) like this:</p>
  
  <pre><code>    File mediaStorageDir = new File(Environment.getExternalStoragePublicDirectory(
                        Environment.DIRECTORY_PICTURES), "scouthouse");
              if(!mediaStorageDir.exists()) {
                  mediaStorageDir.mkdirs();
              }
  
              SimpleDateFormat s = new SimpleDateFormat("ddMMyyyyhhmmss");
              String format = s.format(new Date());
              File file = new File(mediaStorageDir.getPath() + File.separator + format + ".jpg");
              try {
                  file.createNewFile();
              } catch (IOException e) {
                  e.printStackTrace();
              }
  </code></pre>
  
  <p>The mediaStorageDir.exists() returns true, but I can't find the folder in windows. The location is sdcard0/Pictures/scouthouse/. I do have a Pictures/ folder but Android doesn't create the /scouthouse/ folder.
  When I try to decode the file with a Bitmapfactory it returns null.</p>
  
  <p>EDIT!</p>
  
  <p>So I've simplified the method a bit to get down to the root and basically have this:</p>
  
  <pre><code>   private void createDir() {
      File file = new File(Environment.getExternalStoragePublicDirectory(
              Environment.DIRECTORY_PICTURES), "scouthouse");
      if(!file.mkdirs()) {
          Log.d("file", "file not created");
      }   
  }
  </code></pre>
  
  <p>This creates a file dir, and the Log isn't logged for the first time. So the directory has been created, however
  I can't find it on the phones file system anywhere.</p>
  
  <pre><code>    private File createNewFile() {
      File file = new File(Environment.getExternalStoragePublicDirectory(
              Environment.DIRECTORY_PICTURES), "scouthouse" + File.separator + "test.jpg");
      try {
          if(file.createNewFile()) {
              Log.d("file", "yiss");
              return file;
          }
      } catch (IOException e) {
          e.printStackTrace();
      }
  
      return null;
  }
  </code></pre>
  
  <p>This method returns null. The file can't be created..</p>