random
added require fs
created temp variable to hold output of fs.readFileSync
to write working