// make it usable as a valid PID.
String relativePath = fileManager.getRelativePath(file);
String suffix = relativePath.replace('/', '.');
String pid = GENERATED_PID_PREFIX + suffix;
return new ConfigurationImpl(
pid, factoryPid, file, bundleLocation, null);
}