changes made to readFileSync