         if err? then callWhenEnded(err)
         else
 
-          reader = linereader.open PATH + AIDDATA_TEMP_FILE
+          reader = linereader.open AIDDATA_TEMP_FILE
 
           nextRow = ->
             if reader.hasNextLine()

                "-d aiddata -c #{collection} --upsert --upsertFields #{upsertFields.join(',')} " +
                "-u #{dbconf.mongodb.user} -p #{dbconf.mongodb.password} "+ 
                "#{file}"
    console.log "Running in \"#{__dirname}\":\n#{cmd}"
    os.run cmd,
      (err) ->

  q = queue(1)  # no parallelism
  tasks.forEach (t) -> q.defer t
  q.await callWhenEnded














runTasksSerially [
