title: Read a HTML file into a string variable in memory
body: <p>If I have a HTML file on disk, How can I read it all at once in to a String variable at run time? Then I need to do some processing on that string variable. </p>
  
  <p>Some html file like this:</p>
  
  <pre><code>&lt;html&gt;
      &lt;table cellspacing="0" cellpadding="0" rules="all" border="1" style="border-width:1px;border-style:solid;width:274px;border-collapse:collapse;"&gt;
          &lt;COLGROUP&gt;&lt;col width=35px&gt;&lt;col width=60px&gt;&lt;col width=60px&gt;&lt;col width=60px&gt;&lt;col width=59px&gt;&lt;/COLGROUP&gt;
          &lt;tr style="height:20px;"&gt;
              &lt;th style="background-color:#A9C4E9;"&gt;&lt;/th&gt;&lt;th align="center" valign="middle" style="color:buttontext;background-color:#D3DCE9;"&gt;A&lt;/th&gt;&lt;th align="center" valign="middle" style="color:buttontext;background-color:#D3DCE9;"&gt;B&lt;/th&gt;&lt;th align="center" valign="middle" style="color:buttontext;background-color:#D3DCE9;"&gt;C&lt;/th&gt;&lt;th align="center" valign="middle" style="color:buttontext;background-color:#D3DCE9;"&gt;D&lt;/th&gt;
          &lt;/tr&gt;&lt;tr style="height:20px;"&gt;
              &lt;th align="center" valign="middle" style="color:buttontext;background-color:#E4ECF7;"&gt;1&lt;/th&gt;&lt;td align="left" valign="top" style="color:windowtext;background-color:window;"&gt;Hi&lt;/td&gt;&lt;td align="left" valign="top" style="color:windowtext;background-color:window;"&gt;Cell Two&lt;/td&gt;&lt;td align="left" valign="top" style="color:windowtext;background-color:window;"&gt;Actually a longer text&lt;/td&gt;&lt;td align="left" valign="top" style="color:windowtext;background-color:window;"&gt;Final Word&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/html&gt;
  </code></pre>