title: Node itself can serve static files without express or any other module..?
body: <p>I am beginner in the field of node js.No idea how to send simple request from url 
  Like :- <a href="http://localhost:9999/xyz/inde.html" rel="noreferrer">http://localhost:9999/xyz/inde.html</a>
  my file hierarchy is</p>
  
  <pre><code>server.js
  xyz(folder)-
            |-&gt;index.html
  </code></pre>
  
  <p>And get the html page from my server.Which is running at post 9999</p>
  
  <pre><code>var http = require("http");
  function onRequest(request, response) {
  console.log("Request received.");
  response.writeHead(200, {"Content-Type": "text/plain"});
  response.end();
  }
  http.createServer(onRequest).listen(9999);
  console.log("Server has started.");
  </code></pre>
  
  <p>I know i can send string(having html template) from node js server and send it in response but how to send file without express and any other external module.
  Thanks</p>