protected function ensureFileExists($path)
    {
        if (file_exists($path) === false) {

            // Create directory
            @mkdir(dirname($path), 0777, true);

            // Make the language file
            touch($path);
        }
    }