public static function getFromFile($path, $decode = false, $assoc = true)
    {
        if (is_readable($path)) {
            $json = utf8_encode(file_get_contents($path));
            if ($decode) {
                $json = json_decode($json, $assoc);
            }
            return $json;
        }
        return false;
    }