Remove readSync
Rename writeSync to writeFileSync