# File lib/fakefs/fileutils.rb, line 287
    def compare_file(file1, file2)
      # we do a strict comparison of both files content
      File.readlines(file1) == File.readlines(file2)
    end