add open .gz and txt