Select the correct training file when multiple training files are
present. Issue #55.