 # ---------------
 
 File =
+
   # Write user object to file
   write: (user) ->
     deferred = Q.defer()

      fs.writeFile(path, data, deferred.resolve)
    return deferred.promise

  # Delete user file
  del: (id) ->
    deferred = Q.defer()

  redis = redis.createClient()

# Set up
# redis.flushdb()
redis.setnx "users:index", "-1"

# ---------------
