implement common sense delete of comp file before starting a new one and delete the temp result if writing failed since comp files could be multiple gigs