Use Respnse.WriteFile instead of user control
<p>I have a large html file that I want to split apart. I have managed to split it apart and place each part in a htm file. As a result my structure now looks like:</p>

<p><img src="http://i.stack.imgur.com/2nTtD.png" alt="enter image description here"></p>

<p>note all the files in the folder are just specific to the Default.aspx page. I like to have my code spitted into several parts; I find it easier to program that way.</p>

<p>Anyways why when I do:</p>

<pre><code>    &lt;%   
        Response.WriteFile("_Menu.htm");        
    %&gt;
</code></pre>

<p>that creates a different output that if I where to go to _Menu.htm copying the entire content and pasting it in there? I know I can create a user control for each file. but if I do so I will have to create a page directive at the root of the page for each file and plus I just need to place static content I don't need to call an aspx page. Why does Response.WriteFile include stuff that I don't have in the file. For example it places '"' marks whenever I have a paragraph. </p>

<h2>EDIT</h2>

<p>I use user controls when I plan to reuse html. In this case I am just spliting apart a page into several ones. I will like to have the content of each chunk in a separate file.</p>

<h2>EDIT 2</h2>

<p>Doing:</p>

<pre><code>    &lt;%   

        //Response.WriteFile("_Menu.htm");

        Response.Write(System.IO.File.ReadAllText(@"A:\Users\Antonio\Dropbox\VisualStudio Projects\Websites\Boat\Boat\MasterPages\User\_Menu.htm"));        
    %&gt;
</code></pre>

<p>works great. why is Response.WriteFile including " (paragraph) " at the the beginning!?</p>
