{#if expanded}
{#each files as file}
{#if file.type === 'folder'}
{:else}
{/if}
{/each}
{/if}