implemented fs.readFile