pub fn read_file<P>(path: P) -> Result<BufReader<File>> where
    P: AsRef<Path>, 
Expand description

Create a File BufReader from PathBuf. Throw IO Error for failure to create the buffer.