with Dogan
require fs
added utf8 encoding
added buf.toString()