Here's something that should blow your mind a little: the same .filter().map().collect() chain you use on a Vec works on a file. Line by line, without loading the entire file into memory, with the ...