 
       File<aa/bb/cc/template/index.clj>
       ;=> template/index.clj"
-  [file]
+  [#^File file]
   (last (str/split (.getAbsolutePath file)
                    (re-pattern *template-dir*))))
 
 ; =template-name->file
 (defn template-name->file
   "Convert template name to java.io.File"
-  [tmpl-name]
+  [#^String tmpl-name]
   (io/file (str *template-dir* tmpl-name)))
 
 ;; ## Filename Date Utility

; =make-tag-output-filename
(defn make-tag-output-filename
  "Make tag output filename from tag name"
  [tag-name]
  (str *tag-out-dir* tag-name ".html"))

; =make-template-outpu-filename
(defn make-template-output-filename
  "Make template output filename from template name"
  [tmpl-name]
  (let [file (template-name->file tmpl-name)
        date (get-date-from-file file)
        filename (-?> tmpl-name remove-date-from-name delete-extension)]

; =config-file?
(defn config-file?
  "Check whether file is config file or not."
  [#^File file]
  (= *config-file* (.getName file)))

; =layout-file?
