code: function (n) {
              //get user from db
              dbAction.get("findByUserId", userId, function (err, u) {
                  if (u) {
                      user = u.toObject();
                  }
                  else {
                      err = err || new Error("User not found by userId: " + userId);
                  }
                  n(err);
              })
          }
docs: function (n) { FileUtil.copyFile(tmpPath, filePath, n); },