Use name and not filename. Otherwise define a name is not usefull FIXED-IN: 4.8.4 BUG: 300660 (cherry picked from commit f40e2760)