update lockfile spec to check for existence of file