Near-wake structures of a finite square cylinder with a flapping film at its free end