use std::fs::File;
use std::io::{BufReader, BufRead};

fn main() {
    let filename = "sample.txt";
    let file = File::open(filename).unwrap();
    let br = BufReader::new(file);
    for line in br.lines() {
        println!("{}", line.unwrap());
    }
}