             # Lock file watcher to avoid remotely downloaded files to be re-uploaded
             filesystem.watchingLocked = true
 
-            unlockFileSystemAndReturn =  ->
+            unlockFileSystemAndReturn = ->
                 filesystem.watchingLocked = false
                 callback null
 

fs         = require 'fs'
touch      = require 'touch'
request    = require 'request-json'
urlParser  = require 'url'
log        = require('printit')
             prefix: 'Data Proxy | replication'

            log.info "Running synchronization with remote database"
            replicate = pouch.db.sync

        return replicate


    runReplication: (fromRemote, toRemote, continuous,
