You can add the checkbox and then change the DefaultFileName values to clear out the value if the checkbox is checked. So, for example, line 46 might become:
'DefaultFileName' => "".(isset($_POST["deleteCheck1"])?"":$WADAmrf_2021_update->getColumnVal("file1",false)) ."",