text: const fs = require('fs') // file sytem
  
  const path = require('path')
  
  
  
  
  const filePath = path.join(__dirname, 'text.txt') 
  
  let stream = new fs.ReadStream(filePath, {encoding: 'utf-8'});
  
  stream.on('readable', ()=> {
  
      let data = stream.read();
      console.log(data);           // toString()
  })
  
  stream.on('end', ()=>{
  
      console.log('end')
  })
  
  
  stream.on('error', (err)=> {
      if(err.code == 'ENOENT'){
          console.log("no file")
      }else {
  
          console.log(err)
      }
  })