remove tmp code dir
use tmp file for job