using gz file instead