Pick several lines from file by line number.