Adapts WeightMatrixMonitor to string conform filename