title: Windows Phone read from text file
body: <p>I'm writing an app that reads data from a text file and uses that as the basis of the app. This is just a simple text file with several lines of data that the program needs. I've included the text file as part of the project in visual studio. However, when I try to run the app and read the text file using a StreamReader, it throws an error: </p>
  
  <p>"System.MethodAccessException: Attempt by security transparent method 'App.MainPage..ctor()' to access security critical method 'System.IO.File.Exists(System.String)' failed.
     at System.IO.File.Exists(String path)"</p>
  
  <p>This text file is very important to the function of the app. Is there any way I can include it with the XAP when people download it and read it directly from within the app? </p>