Revert temp file