    (let [
       before (System/nanoTime)
       after #(System/nanoTime)
-      filename (clojure.string/replace (clojure.string/trim-newline seg-url) #".*/" "")]
+      filename (string/replace (string/trim-newline seg-url) #".*/" "")]
 
       (with-open
-         [whandle (clojure.java.io/output-stream filename)]
+         [whandle (io/output-stream filename)]
 
          (.write whandle (:body (http/get seg-url {:as :byte-array})))
 

(ns mustached-hipster.core
   (:require
      [clj-http.client :as http :only [get]]
      [clojure.java.io :only [output-stream]]
      [clojure.string  :only [replace split-lines]])
   (:gen-class))

(defn get-playlist

      before (System/nanoTime)
      after #(System/nanoTime)
      grab-and-process (comp
         (partial map #(string/replace % #"\?.*" "\n"))
         (partial filter #(not= \# (first %)))
         string/split-lines
         :body
         http/get)]

