use raw fs.readFileSync for fromtext