Remove file references from ROM modules.