Have you looked into the DocumentQuery API? This should help you get started (and in a simpler way):
// Get all news items and articles from site containing 'Kentico' in name
var documents = DocumentHelper.GetDocuments()
.Type("CMS.News", q => q.Default())
.Type("CMS.SimpleArticle", q => q.Default())
.OnSite("CorporateSite")
.WhereLike("DocumentName", "%Kentico%");
foreach (var doc in documents)
{
var fieldValue = doc.GetValue("ColumnName");
}