#!/usr/bin/ruby

var files = %w(
                a.txt
                b.txt
                c.txt
              ).map{.to_file};

files.each { |file|
    say file.edit { |line|
        line.gsub("Goodbye London!", "Hello New York!");
    };
}