added removal of ttlFile at end of main