# File lib/fakefs/dir.rb, line 77
    def self.foreach(dirname, &block)
      Dir.open(dirname) { |file| yield file }
    end