code: public List<String> getOrphansList() throws DuplicateBundlePathException {
  
  		// Create a mapping for every resource available
  		JoinableResourceBundleImpl tempBundle = new JoinableResourceOrphanBundleImpl("orphansTemp", "orphansTemp",
  				this.resourceExtension, new InclusionPattern(), Collections.singletonList(this.baseDir), rsHandler,
  				generatorRegistry);
  
  		// Add licenses
  		Set<String> licensesPathList = tempBundle.getLicensesPathList();
  		for (Iterator<String> it = licensesPathList.iterator(); it.hasNext();) {
  			addFileIfNotMapped(it.next());
  		}
  
  		// Add resources
  		List<BundlePath> allPaths = tempBundle.getItemPathList();
  		for (Iterator<BundlePath> it = allPaths.iterator(); it.hasNext();) {
  			addFileIfNotMapped(it.next().getPath());
  		}
  		return this.bundleMapping;
  	}
docs: Scan all dirs starting at baseDir, and add each orphan resource to the
  resources map.
  
  @return the list of orphan resources
  @throws DuplicateBundlePathException
  if a duplicate path is found in the bundle