Take account of '.tgz'