Fixed training fileName listing errors.