support for .tgz file ending