Merge: Fix chomp and read_lines