def dir_contents(path)
      path = File.expand_path(path)
      Dir["#{ path }/**/*"].map {|e| e.sub(/^#{ path }/, '') }.sort
    end
def dir_contents(path)
      path = File.expand_path(path)
      Dir["#{ path }/**/*"].map {|e| e.sub(/^#{ path }/, '') }.sort
    end
Return the sorted contents of the given +path+,
 relative to the path so the contents may be matched against
 the contents of another path.