put tmp file in tmp