generate .factorypath