def compare
			
			Dir.foreach(@folder1) do |item|
				begin
  				next if item == '.' or item == '..'
  				fullfilename = File.expand_path(@folder1, item)
  				the_hash = Digest::MD5.hexdigest(File.read(File.join(File.expand_path(@folder1), item)))
  				item = item.downcase
  				filedata = FileHashResults.new(item, the_hash, nil)
  				@filehash[item] = filedata
  			rescue
  			  #puts "Skipped:#{item.inspect}"
  			end
			end

			Dir.foreach(@folder2) do |item|
			  begin
  				next if item == '.' or item == '..'
  				the_hash = Digest::MD5.hexdigest(File.read(File.join(@folder2, item)))
  				item = item.downcase
          if(@filehash[item]==nil)
  					filedata = FileHashResults.new(item, nil, the_hash)
  					@filehash[item] = filedata
  					next
  				end
  				@filehash[item.downcase].file_hash2 = the_hash
  			rescue
          #puts "Skipped:#{item.inspect}"
        end	
			end
		end
def compare
			
			Dir.foreach(@folder1) do |item|
				begin
  				next if item == '.' or item == '..'
  				fullfilename = File.expand_path(@folder1, item)
  				the_hash = Digest::MD5.hexdigest(File.read(File.join(File.expand_path(@folder1), item)))
  				item = item.downcase
  				filedata = FileHashResults.new(item, the_hash, nil)
  				@filehash[item] = filedata
  			rescue
  			  #puts "Skipped:#{item.inspect}"
  			end
			end

			Dir.foreach(@folder2) do |item|
			  begin
  				next if item == '.' or item == '..'
  				the_hash = Digest::MD5.hexdigest(File.read(File.join(@folder2, item)))
  				item = item.downcase
          if(@filehash[item]==nil)
  					filedata = FileHashResults.new(item, nil, the_hash)
  					@filehash[item] = filedata
  					next
  				end
  				@filehash[item.downcase].file_hash2 = the_hash
  			rescue
          #puts "Skipped:#{item.inspect}"
        end	
			end
		end
Iterates through the folders and creates a FileHashResults object containing the
 results of the comparisson