getting rid of temp file