// Custom constructor to pass expense report data public URLIncrementalReader(bool fakeData) { Symbol parrent = new Symbol(".NET Framework Class Library"); Class1 c1 = new Class1(); System.IO.StreamWriter file = File.AppendText("P:\\TEST\\test.html"); file.Write("<style> a { text-decoration: none; color: black; } </style>\n\r"); file.Close(); string URL = "http://msdn.microsoft.com/en-us/library/gg145045.aspx"; c1.Fetch(URL, parrent); }