String pid[] = parsePid(f.getName());
Configuration config = getConfiguration(toConfigKey(f), pid[0], pid[1]);
Dictionary props = config.getProperties();
Hashtable old = props != null ? new Hashtable(new DictionaryAsMap(props)) : null;
if (old != null) {
old.remove( DirectoryWatcher.FILENAME );
old.remove( Constants.SERVICE_PID );
old.remove( ConfigurationAdmin.SERVICE_FACTORYPID );
}