Create a WebClient and call DownloadString. You will then have a String object containing the text of the file, so you can then treat it like any other String.