 
 (defn- get-config-source
   [config-path]
-  (let [config-file (file config-path)]
+  (let [config-file (io/file config-path)]
     (if (.exists config-file)
       config-file
 
       ;; if that didn't work (won't for a URI of a file inside a .jar),
       ;; get a bigger hammer
       (try
-        (input-stream (URI. config-path))
+        (io/input-stream (URI. config-path))
         (catch Exception ignored
           ;; If that didn't work either, we can't read it.  Don't wrap and
           ;; re-throw here, as `ignored` may be misleading (in the case of a

  [cli-data]
  {:pre  [(map? cli-data)]
   :post [(or (nil? %)
              (satisfies? IOFactory %))]}
  (if-let [bootstrap-config (or (config-from-cli cli-data)
                                (config-from-cwd)
                                (config-from-classpath))]

  [resolve-ns service-name]
  {:pre  [(string? resolve-ns)
          (string? service-name)]
   :post [(satisfies? services/ServiceDefinition %)]}
  (try (require (symbol resolve-ns))
       (catch FileNotFoundException e
         (throw (IllegalArgumentException.
                  (str "Unable to load service: " resolve-ns "/" service-name)
                  e))))
  (if-let [service-def (ns-resolve (symbol resolve-ns) (symbol service-name))]
    (internal/validate-service-graph! (var-get service-def))
    (throw (IllegalArgumentException.
             (str "Unable to load service: " resolve-ns "/" service-name)))))

