pass tempdir into a block