<?php
session_start();
$filename = '../data/'.date('Y').'/'.$_SESSION['handle'].'.json';
if (file_exists($filename)) {
    unlink($filename);
}
session_destroy();
header('Location: index.php');