updated InputUtils to support more compression types