Changed fs.open and readAll.