on the
        ``build_lib`` and ``build_temp`` directories.

        This function should filter this case of invalid files out.
        