 
 
 (defn- get-path
-  [path]
-  (.toPath (File. path)))
-
+  [path & args]
+  (Paths/get path (into-array String args)))
 
 (defn stat
   [path]

     :creation-time (ct (.creationTime attr))
     :last-access-time (ct (.lastAccessTime attr))
     :last-modified-time (ct (.lastModifiedTime attr))}))

(ns com.brainbot.stat
  (:import [java.io File IOException FileNotFoundException]
           [java.nio.file Files Path LinkOption Paths]
           [java.nio.file.attribute AclFileAttributeView PosixFilePermissions PosixFilePermission BasicFileAttributes PosixFileAttributes]))


(def no-follow-links
