code: def preprocessing_files_before_and_after_tests(request):
      paths = ["*.bak", "*.dat", "*.dir"]
  
      delete_files = create_func_delete_files(paths)
      delete_files()
      request.addfinalizer(delete_files)
  
imports: import glob
  import os
  import numpy
  import pytest
  from sklearn.datasets import load_breast_cancer
  from fedot.core.caching.pipelines_cache import OperationsCache
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 4 for calling a global function with example usage: preprocessing_files_before_and_after_tests(request) without return types