module Sys

def for_files(*wildcards)

Perform a block with each file matching a set of wildcards.
def for_files(*wildcards)
  wildcards.each do |wildcard|
    Rake.glob(wildcard).each do |fn|
      yield(fn)
    end
  end
end