converted fs.readFile to eden readfile library