   (:require [clojure.string :as s]
             [clojure.tools.cli :refer (parse-opts)]
             [defun :refer (defun-)]
+            [open-company.db.pool :as db]
             [open-company.resources.common :as common]
             [open-company.resources.company :as company]
             [open-company.resources.section :as section])

        (doseq [filename filenames]
          (let [data (read-string (slurp filename))]
            (if (and (map? data) (:company data) (:sections data))
              (import-company options data)
              (exit 1 (data-msg))))))
      (catch Exception e
        (println e)

    ;; Get the list of files to import
    (try
      (let [arg (first arguments)
            conn (db/init-conn)
            edn-file #".*\.edn$"
            filenames (if (re-matches edn-file arg)
                        [arg] ; they specified just 1 file
