generalizing the tmp dump directory