testfile cleanup