remove all non alphanumeric characters from the level string (debug call first parameter) so the file name is not invalid:wq