restoring the original lock file