public static function createTemporary(string $data, string $clientFileName = null) : File
    {
        $tempFilePath = tempnam(sys_get_temp_dir(), 'dms');
        file_put_contents($tempFilePath, $data);

        return new self($tempFilePath, $clientFileName);
    }