title: Creating a new directory using Kotlin, Mkdir() doesn't work
body: <pre><code>var filename = "blesson.txt"
  var wallpaperDirectory = File("/sdcard/Wallpaper")
   wallpaperDirectory.mkdirs()
  val outputFile = File(wallpaperDirectory, filename)
  val fos = FileOutputStream(outputFile)
  </code></pre>
  
  <p>I am trying to make a new directory on an Android device using Kotlin, but the function <code>mkdirs()</code> doesn't work.</p>
  
  <pre><code>var filename = "blesson.txt"
  var wallpaperDirectory = File(Environment.getExternalStorageDirectory().absolutePath)//("/sdcard/Wallpaper")
  wall
  val outputFile = File(wallpaperDirectory, filename)
  val fos = FileOutputStream(outputFile)
  </code></pre>
  
  <p>I have tried this also, it is not making a new directory
  Any help is welcome</p>