{dir}
{#if open}
{#each get_items() as item (item.filename)} {#if item.isDir}
{:else}
{item.filename}
{/if} {/each}
{/if}