[tor-commits] [metrics-lib/release] Use the descriptor file name for determining descriptor type.