验证是否为文本文件名(.txt)。
static bool isTxt(String? s) => s != null && s.isNotEmpty && _txtRegExp.hasMatch(s);