use File; if (File::exists(public_path('uploads/csv/img.png'))) { File::delete(public_path('uploads/csv/img.png')); }