public MetalinkFileBuilder addFile(String name){
  MetalinkFileBuilder newFile=new MetalinkFileBuilder(name);
  files.add(newFile);
  return newFile;
}

public MetalinkFileBuilder addFile ( String name ) { MetalinkFileBuilder newFile = new MetalinkFileBuilder ( name ) ; files . add ( newFile ) ; return newFile ; }
adds a file to this metalink document . you must add at least one file .
