public UserRepository(string path, CSVStream <RegisteredUser> stream, iSequencer <long> sequencer) { _path = path; _stream = stream; _sequencer = sequencer; _sequencer.Initialize(GetMaxId(_stream.ReadAll())); }