     usermsg = "fw: #{list_name} entries will expire soon: " +
       "```"+ expiring.join("\n") + "```"
     notifySubscribers usermsg
-    fs.writeFileSync fwdata_file, JSON.stringify(fwdata), 'utf-8'
+    writeData()
 
 
 expireEntriesFromList = (list_name) ->

      "Change will be applied in < 5 minutes. Removed: " +
      "```"+ deleted.join("\n") + "```"
    fwdata[list_name] = new_entry
    fs.writeFileSync fwdata_file, JSON.stringify(fwdata), 'utf-8'
  else
    usermsg = "#{list_name} delete request did not match any records."
  msg.reply usermsg

  setTimeout expirationWorker, svcQueueIntervalMs

  try
    fwdata = JSON.parse fs.readFileSync data_file, 'utf-8'
    robot.logger.info "#{modulename}: read #{data_file}" if robot.logger
  catch error
    unless error.code is 'ENOENT'
      console.log("#{modulename}: unable to read #{data_file}: ", error)

  robot.router.get "/#{robot.name}/#{modulename}/blacklist/url", (req, res) ->
    return httpGetList robot, req, res, 'blacklist', 'url'
