New function to delete the file at cache/class_index.php