title: show or read all files and folder present in os or system using electron
body: <p>I am new to electron and I wanted to develop a file explorer (cross platform application for desktop) using electron.</p>
  
  <p>I am unable to read root folder.</p>
  
  <p>How can i read root folder in windows, Linux and mac ?</p>
  
  <p>I tried the following code but it resulted in an error:</p>
  
  <pre><code>const fs = require('fs');
  const fileUrl = new URL('file:///Desktop');
  fs.readFileSync(fileUrl);
  </code></pre>