Fix files for custom topology.