public function import($file)
    {
        if (! file_exists($file)) return;

        $settings = $this->yaml->load($file);
        foreach ($settings as $alias => $setting) {
            $database= new Database($setting);
            $database->database_dir = $this->config->getDataDir();
            $this->_databases[$alias] = $database;
        }
    }