always set filename (#1573)