private async Task <IEnumerable <object> > loadSnapshot(string fileName, Type snapshotType) { if (string.IsNullOrEmpty(fileName)) { return(Enumerable.Empty <object>()); } return(await _snapshotSerializer.DeserializeAsArray(fileName, snapshotType)); }