to reproduce:
unzip the attached file
call Aspose.Words.FileFormatUtil.DetectFileFormat for the text file
expected to get Txt, but got Unknown
data_1000chars_Uknown.txt.zip (805 Bytes)...contains plain text without any encoded data or corruption. Open it...