save filename and headertext value as key value pair collection
<p>given the following text file:</p>

<pre><code>Find all "HeaderText="", Subfolders, Find Results 1, "Entire Solution"
  C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\Default.aspx(16):                &lt;asp:BoundField DataField="CustomerID" HeaderText="CustomerID" ReadOnly="True" 
  C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\Default.aspx(18):                &lt;asp:BoundField DataField="CompanyName" HeaderText="CompanyName" 
  C:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\Default.aspx(20):                &lt;asp:BoundField DataField="ContactName" HeaderText="ContactName" 
  Matching lines: 3    Matching files: 1    Total files searched: 5
</code></pre>

<p>what's the best way to put just the filename and the value of HeaderText in a collection?</p>

<pre><code>for example,

var test = new List&lt;KeyValuePair&lt;string,string&gt;&gt;();

test.Add(Default.aspx, CustomerID);
test.Add(Default.aspx, CompanyName);
test.Add(Default.aspx, ContactName);
</code></pre>
