kind of using a tmp dir again