string theFile="Include"+IncPage.ToString()+".htm"; string input; System.IO.StreamReader sr = System.IO.File.OpenText(Server.MapPath(theFile)); while ((input=sr.ReadLine())!=null) { Response.Write(input); } sr.Close();but it seems like a lot of work to read the file line by line. It works but there is always room for improvement :)