readOrNew

Reads LockFile and parses it, or returns a new LockFile.