@if (session('success'))
{{ session('success') }}
@endif
@foreach ($files as $file)
{{ $loop->iteration }} ) {{ $file->name }} - {{ $file->created_at }}
@if (Str::startsWith($file->mime_type, 'video'))
@elseif(Str::startsWith($file->mime_type, 'image'))

@endif
@endforeach