Update file to temp folder.