       escape: ""
     .transform (data) ->
       importfunction data
-    .on "data", (data, index) ->
-      importfunction data
     .on "end", (count) ->
       console.log "Number of lines: " + count
       callback(count)
-      return true
     .on "error", (error) ->
       console.log error.message
   storeCountryAndAdminDivision: (countrycode = "DE",callback = ->) ->
+    redis.set countrycode, "foo"
     importfunction = (data) ->
       doo = "DE"+":"+data[1]
-      #console.log(doo)
       redis.set doo, "foo"
-    return @importData("./spec/fixtures/admin1CodesASCII.txt", importfunction, callback)
+    @importData("./spec/fixtures/admin1CodesASCII.txt", importfunction, callback)

    state_id = data[10]
    population = data[14]
    country_iso = data[8]
  waiter: ->
    setTimeout((-> 
      console.log("jdsak")
      return false
    ),4000)
      
  importData: (filename, importfunction,callback) ->
    csv().fromPath filename,

__ = require "../../vendor/underscore"

module.exports =
  storePopulatedPlace: (line) ->
    data = line.split("\t")
    id = data[0]
