      verbose?
      preserve-semi?
      disable-optimizations?)
-    {(first input) (.toString (.getBuffer writer))}))
+    {(get-filename file-map) (.toString (.getBuffer writer))}))
 
 (defn- compress-stylesheet*
   "Calls the YUI compressor and returns the compressed css as a string.
 
-  Input is a vector with the filename as the first value and file's contents as the second value."
-  [input &
+  file-map is a map with a key of the filename and
+  value being the file's contents."
+  [file-map &
    [{:keys
      [line-break
       charset]

     {line-break -1
      charset "utf-8"}}
    :as options]]
  (let [compressor (CssCompressor. (StringReader. (last input)))
        writer (StringWriter.)]
    (.compress
     compressor
     writer
     line-break)
    {(first input) (.toString (.getBuffer writer))}))

(defn- get-previous-output
  "Returns the return value of the previous function via the
  swiss-map."
  [swiss-map]
  ((:prev-fn swiss-map) swiss-map))

(defn- current-working-directory
  "Returns the directory the project is located in."

      charset "utf-8"}}
    :as options]]
  (let [compressor (JavaScriptCompressor.
                    (StringReader. (get-contents file-map))
                    nil)
        writer (StringWriter.)]
    (.compress
