now read gz files also