title: Can't create file in the internal storage
body: <p>i am trying to create a file in the internal storage, i followed the steps in android developers website but when i run the below code there is no file created</p>
  
  <p>please let me know what i am missing in the code</p>
  
  <p><strong>code</strong>:</p>
  
  <pre><code>File file = new File(this.getFilesDir(), "myfile");
      try {
          file.createNewFile();
      } catch (IOException e) {
          e.printStackTrace();
      }
      FileOutputStream fOut = null;
      try {
          fOut = openFileOutput("myfile",Context.MODE_PRIVATE);
      } catch (FileNotFoundException e) {
          e.printStackTrace();
      }
      try {
          fOut.write("SSDD".getBytes());
      } catch (IOException e) {
          e.printStackTrace();
      }
      try {
          fOut.close();
      } catch (IOException e) {
          e.printStackTrace();
      }
  </code></pre>