I read in a text file and try to push it to the browser to prompt a user to download but I'm getting my data plus HTML code inside the file. What am I screwing up? Thanks.

```
byte[] eftTextFile = ...calls a method that returns a byte array (does a File.ReadAllBytes on a txt file)

```

Then I try:

```
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", String.Format("attachment;filename=\"{0}\"", fileName));
Response.AddHeader("Content-Length", eftTextFile.Length.ToString());
Response.OutputStream.Write(eftTextFile, 0, eftTextFile.Length);
Response.Flush();

```

This is my aspx.cs file and is the result of a button click. which is a simple:

```
<asp:Button ID="btnCreate" Text="Create" runat="server" OnClick="btnCreate_Click">

```