be more flexible about the names of tar files