For the temporary output file use ${target.dir}/temp.txt