fixed extension check not looking at file in eidirpop