     log.info 'Blog unique photos:', posts.length, '\n'
     log.info 'Duplicates:', total-posts.length, '\n'
 
-    # Plain old JSON, should/can be optimized a bit..
     # We remove 'nbNewPosts' as it is going to change and not relevant to store.
     delete blog.nbNewPosts
+
+    # We store the 'database' as a plain old JSON, should/can be optimized a bit probably..
     outputData = JSON.stringify blog
 
     # Write "database" to outputdir/.tumblrip

  {size} = stats if isFile

  promiseRetry ->
    get url, 'HEAD'
    .then (response) ->
      contentLength = parseInt response.headers['content-length']
      if !options.force and (size is contentLength)

      else
        response

###*
@name getPostsData -- get all posts data from Tumblr blog
@param blogname (String) : the blog name (we construct the URL from it)
###
getPostsData = (blogname) ->
  # Build url and retrieve all data
  url = "http://#{blogname}.tumblr.com/api/read/json"
