How do I delete the following files from the front end?

Here is the code I inserted.
It doesn't work.

> 
> **magento/app/design/frontend/Infortis/base/Magento\_Theme/layout/default\_head\_blocks.xml**
> 
> 
> 

```
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
    <remove src="Magento_Theme::mage/calendar.css"/>
    <remove src="Amasty_ShopbyBase::css/swiper.min.css"/>
</head>

```

Then, after editing and saving, I executed the following command:

```
sudo php71 bin/magento setup:upgrade
sudo php71 bin/magento setup:static-content:deploy -f
sudo php71 bin/magento cache:clean
sudo php71 bin/magento cache:flush

```