added thesis texfile cleanup