title: Cannot compile code that uses std::io - There is no `File` in `std::io`
body: <p>I am pretty new to Rust, and I was just trying to get familiar with the io library by performing a basic line-by-line read from a text file. The example I was trying to compile was straight from the website. </p>
  
  <pre class="lang-rust prettyprint-override"><code>use std::io::BufferedReader;
  use std::io::File;
  
  fn main() {
      let path = Path::new("file_test.txt");
      let mut file = BufferedReader::new(File::open(&amp;path));
      for line in file.lines() {
          print!("{}", line.unwrap());
      }
  }
  </code></pre>
  
  <p>When I tried to compile it with rustc, these are the errors I received:</p>
  
  <pre class="lang-none prettyprint-override"><code>io_test.rs:1:5: 1:28 error: unresolved import `std::io::BufferedReader`. There is no `BufferedReader` in `std::io`
  io_test.rs:1 use std::io::BufferedReader;
                   ^~~~~~~~~~~~~~~~~~~~~~~
  io_test.rs:2:5: 2:18 error: unresolved import `std::io::File`. There is no `File` in `std::io`
  io_test.rs:2 use std::io::File;
                   ^~~~~~~~~~~~~
  error: aborting due to 2 previous errors
  </code></pre>
  
  <p>I am using Ubuntu 14.04, and I have no idea if that's part of the problem. I really appreciate any help. Perhaps its just some simple error or mistake on my part. </p>