          nil
          ))
 
+
+(defun org-wiki/open-fmanager ()
+  "Opens the wiki repository with system's default file manager."
+  (interactive)
+  (org-wiki/xdg-open org-wiki/location))
+
+
+(defun org-wiki/asset-open ()
+  "Open asset directory with system's default file manager."
+  (interactive)
+
+  (org-wiki/xdg-open (buffer-file-name))
+  )
+
 (provide 'org-wiki)

;;
;;  Org-mode Wiki 
;;
;;
;; Dependencies:
;; -------------------------------------------
;;


                      (action . callback)                    
                      ))))


(defun org-wiki/asset-dired ()
  "Open the asset directory of current wiki page."
  (interactive)
  (let (
        (pagename (file-name-base (buffer-file-name)))
        )

    (org-wiki/assets-make-dir pagename)

    (dired (org-wiki/assets-get-dir pagename))

    ))

(defun org-wiki/asset-page-files (pagename)
  "Get all asset files from a given page"
  (org-wiki/assets-make-dir pagename)
  (directory-files (org-wiki/assets-get-dir pagename)))

(defun org-wiki/asset-helm-selection (pagename callback)
  (helm :sources `((
                      (name . "Wiki Pages")

                      (candidates . ,(org-wiki/asset-page-files pagename))

                      (action . callback)                    
                      ))))


(defun org-wiki/insert-asset ()
  "Insert link to asset file of current page at current point."
  (interactive)
  (org-wiki/asset-helm-selection  (file-name-base (buffer-file-name))
                                  (lambda (f)
                                    (insert (format "[[wiki-asset-sys:%s;%s][%s]]"
                                                    (file-name-base (buffer-file-name))
                                                    f
                                                    (read-string "Description" f)
                                                    )))
                                  ))


(defun org-wiki/helm ()
