def read
      @resource_paths = Dir.chdir(path) do
        Dir['**/Contents.json'].map { |p| Pathname(p) + '..' }
      end
      @resources = @resource_paths.map do |path|
        Resource.new(self, path)
      end
      self
    end
def read
      @resource_paths = Dir.chdir(path) do
        Dir['**/Contents.json'].map { |p| Pathname(p) + '..' }
      end
      @resources = @resource_paths.map do |path|
        Resource.new(self, path)
      end
      self
    end
Initialize a new file with given path

 @param [Pathname] path
        the location of the container

 Read the resources from disk

 @return [XCAssets::Bundle]