Moved intermediate files to tmp