Added require for fs
Added readfile functionality