Update file to create tmp file