fix restart paths, assert file opened