@php $fileSource = $currentFilePath ? asset('storage/'.$currentFilePath) : ''; $fileName = $currentFilePath ? basename($currentFilePath) : ''; $removeCurrentFile = (bool) old($removeInputName, false); @endphp