{if !empty($file)}

{$file.theme_path}{$file.id}

{$file.content|escape}
{/if}