code: function writeState (state, localfile, cb) {
      // Write to global file
      try {
        var data = JSON.stringify( state.bins, null, 4 )
      } catch(e) {
        console.log('Problem parsing state into JSON for writing')
      }
      fs.writeFile( that.fglobal, data, 'utf8', function (err) {
        if (err) return cb(err)
        if (localfile) {
          // Write to local file
          try {
            var data = JSON.stringify( state.trackedfiles, null, 4 )
          } catch(e) {
            return cb( erf('Problem parsing tracked file state into JSON for writing') )
          }
          fs.writeFile( localfile, data, 'utf8', function (err) {
            if (err) return cb(err)
            return cb(null)
          }) // end WriteFile Local
        }
        else return cb(null) // no localfile
      }) // end WriteFile Global
    }
docs: ## WriteState ##