Abstract util.js
using sync file system api
Night submit