print out title of matched documents