revert, open first if last scratch file does not exists.