Remove files that don't apply to the module.