final protected function loadArray($file)
    {
        if (is_file($file)) {
            $array = include($file);

            if (is_array($array)) {
                return $array;
            } else {
                trigger_error(sprintf('Included file "%s" should return an array not %s', $file, gettype($array)));
            }

        } else {
            return array();
        }
    }