         #delete pageViews[filename]
       else
         file.pageViews = 0
-    callback()
+    callback null
 
 
 addApiFiles = (files, metalsmith, opts={}, callback) ->


  authClient.authorize (err, tokens) ->
    # Bail on any errors
    if err? then return throw err

    analytics.data.ga.get
      auth: authClient

      "metrics":"ga:pageViews",
      "dimensions":"ga:pagePath",
      "sort":"-ga:pageViews",
      "max-results":"25"
      (err, result) ->
        if err? then return callback err, result, tokens
        callback null, result.rows ? []


# Query Google Analytics for Page Views and add the
