private void SetFiles(IObjectBuilder builder, ReadOnlyCollection <IFile> files) { if (files.Any()) { foreach (var file in files) { try { var stream = _fileProvider.OpenRead(file); builder.AddFile(file.Name, stream, file.Created, file.Accessed, file.Modified); } catch (Exception e) { var a = e.Message; } } } }