fn read_lines<P>(filename: P) -> Result<Lines<BufReader<File>>>where
    P: AsRef<Path>,