Added jsdoc param for writeFile options