Uses tmp folder