{ await open_path(0, $current_file_path); }} >
{#if cut_folders !== 0}
...
{/if}
{#each get_sliced_folders($current_file_path, cut_folders) as folder, i (i)}
{ await open_path(cut_folders + i + 1, $current_file_path); }} >
{folder}
{/each}