diff --git a/shoppe_zymphonies_theme.theme b/shoppe_zymphonies_theme.theme
index 9a0ed18..1eb8d2d 100644
--- a/shoppe_zymphonies_theme.theme
+++ b/shoppe_zymphonies_theme.theme
@@ -4,16 +4,7 @@
  * @file
  * Contains theme override functions and preprocess functions
  */
-
-use Drupal\Core\Template\RenderWrapper;
-use Drupal\Core\Template\Attribute;
-use Drupal\search\Form\SearchBlockForm;
-use Drupal\Component\Utility\SafeMarkup;
-use Drupal\Core\Form\FormStateInterface;
-use Drupal\system\Form\ThemeSettingsForm;
 use Drupal\file\Entity\File;
-use Drupal\Core\Url;
-use Drupal\file\Plugin\Core\Entity\FileInterface;
 
 /**
  * Implements hook_preprocess_page() for block templates.
@@ -179,7 +170,7 @@ function shoppe_zymphonies_theme_get_slider_content() {
   for ($i = 1; $i <= theme_get_setting('no_of_slides'); $i++) {
     $fid = theme_get_setting('slide_image_path'.$i,'shoppe_zymphonies_theme');
     if (!empty($fid)) {
-      $file = file_load($fid[0]);
+      $file = File::load($fid[0]);
       $uri = $file->getFileUri();
       $path = file_create_url($uri);
     }
