fixes #5062 - No longer throw Filename cannot be empty error