def METHOD_NAME(mock_engine: DicomImageRedactorEngine):
    """Test the redact_from_file function with multiple files case
    Args:
        mock_engine (DicomImageRedactorEngine): Mock instance.
    """
    with tempfile.TemporaryDirectory() as tmpdirname:
        # Set file paths and redact PII
        input_path = Path(RESOURCES_DIR1)
        mock_engine.redact_from_directory(
            input_dicom_path=str(input_path),
            output_dir=tmpdirname,
            fill="contrast",
            use_metadata=True
        )
        # Get list of all DICOM files
        extensions = ["[dD][cC][mM]", "[dD][iI][cC][oO][mM]"]
        input_files = []
        for extension in extensions:
            p = input_path.glob(f"**/*.{extension}")
            files = [x for x in p if x.is_file()]
            input_files += files
        output_files = []
        for extension in extensions:
            p = Path(tmpdirname).glob(f"**/*.{extension}")
            files = [x for x in p if x.is_file()]
            output_files += files
    assert len(output_files) == len(input_files)