A stupid directory parser in clojure