open(SDATA,"$sdata")|| die("Could not open file: $!\n"); #### unlink $scnt; #### if (-e "/home/hampton1/data/student_count.dat") { unlink($scnt); }