var filepath = "Cargo.toml"; var c = read(filepath); while (c != nil) { out(c); c = read(filepath); }