title: Attempting to call unbound fn: #'datoteka.core/to-file
body: <p>I am very new to clojure and I get the following error:</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: Attempting to call unbound fn: #'datoteka.core/to-file
  at clojure.lang.Var$Unbound.throwArity(Var.java:45)
  at clojure.lang.AFn.invoke(AFn.java:32)
  at package.auth_monitor$start_monitor_thread.invokeStatic(auth_monitor.clj:43)
  at package.auth_monitor$start_monitor_thread.invoke(auth_monitor.clj:38)
  at package.auth_monitor$start_monitor.invokeStatic(auth_monitor.clj:62)
  at package.auth_monitor$start_monitor.invoke(auth_monitor.clj:49)
  at package.auth_monitor$fn__11768.invokeStatic(auth_monitor.clj:71)
  at package.auth_monitor$fn__11768.invoke(auth_monitor.clj:70)
  </code></pre>
  
  <p>the code is:</p>
  
  <pre><code>42. (let [^TailerListener listener (make-listener)
  43.    ^File file (fs/to-file path)
  44.    ^Tailer tailer (Tailer. file listener 1000 true)]
  45. (doto (Thread. tailer)
  46.  (.setDaemon false)
  47.  (.start)))
  </code></pre>