After checking internally with our team, our current logic to detect a model AML file is to check the extension which includes everything after the first dot e.g. trans.model.aml in your case. This is indeed less flexible than ideal and we have added the improvement to only consider the last 2 dots to our backlog.