   [user-hash]
   (if user-hash
     (str (get-user-dir user-hash) slash pub-key)
-    (str base-dir pub-key-file)))
+    (str base-dir nw-dir slash pub-key)))
 
 (defn get-meta-dir
   [user-hash]

(def priv-key "private.key")
(def pub-key "public.key")
(def profile "user.profile")
(def user-list "user.list")

(def torrent-ext ".torrent")
(def link-ext ".link")

(def priv-key-file (str nw-dir slash priv-key))
(def pub-key-file (str nw-dir slash pub-key))
(def priv-node-key-file (str nw-dir slash "private.node.key"))
(def pub-node-key-file (str nw-dir slash "public.node.key"))
(def db-file (str nw-dir slash "main"))


(defn get-user-list-file
  []
  (str base-dir user-list-file))

(defn get-user-dir
  ([] (str base-dir user-dir))
