<?php
session_start();

// Clear session variables related to file creation
if (isset($_SESSION['created_file_number'])) {
    unset($_SESSION['created_file_number']);
}

if (isset($_SESSION['created_file_bl'])) {
    unset($_SESSION['created_file_bl']);
}

// Return success response
header('Content-Type: application/json');
echo json_encode(['success' => true]);
?>