filter imports for ignored files