new file from temp