Adding NODEWALK for directory looping
Using fs-extra shortcut to skip creting&writing file as two separate steps