file name containing / so create new folder automatically storage laravel code example Example: laravel filesystem $exists = Storage::disk('s3')->exists('file.jpg');