title: IOEerror in python "No such file or directory"
body: <p>I am writing a django project that involves retrieving data from a table. I have a module that has the line to retrieve some data (snp_data.txt is a file on the same directory of the module)：</p>
  
  <pre><code>  data = file("snp_data.txt")
  </code></pre>
  
  <p>While the module works well when I call it separately outside the django project; I keep getting the error below, when I call with other module within the django app.</p>
  
  <pre><code>  no such file or directory as 'snp_data.txt'
  </code></pre>
  
  <p>Any idea what's going on?</p>