Better filtering for multimodule files