It sure is. That's why I want to get the part between Z_ and .h5 which would be T in your case (the ID)