code: function(files, opts) {
  		var self    = this,
  			cwd     = this.getUI('cwd'),
  			cwdHash = this.cwd().hash,
  			newItem = $();
  		
  		opts = opts || {};
  		
  		$.each(files, function(i, f) {
  			if (f.phash === cwdHash || self.searchStatus.state > 1) {
  				newItem = newItem.add(cwd.find('#'+self.cwdHash2Id(f.hash)));
  				if (opts.firstOnly) {
  					return false;
  				}
  			}
  		});
  		
  		return newItem;
  	}
docs: Find cwd's nodes from files
  
  @param  Array    files
  @param  Object   opts   {firstOnly: true|false}