add functionality to oepn gz file