repaired problem with reading compressed files. from GTPB!