@jvlcek I think ```out_file.puts(line) unless line.include?(cookies_file_entry)``` is clearer.