the default value should be changed to ``'txt'`` instead of ``null``