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