if((path.split(name).reversed.take(6).toList().reversed.join('/')=='third_party/icu/source/extra/uconv/README')||// This specific ICU README isn't in UTF-8.
(path.split(name).reversed.take(6).toList().reversed.join('/')=='third_party/icu/source/samples/uresb/sr.txt')||// This specific sample contains non-UTF-8 data (unlike other sr.txt files).
(path.split(name).reversed.take(2).toList().reversed.join('/')=='builds/detect.mk')||// This specific freetype sample contains non-UTF-8 data (unlike other .mk files).
(path.split(name).reversed.take(4).toList().reversed.join('/')=='third_party/freetype2/docs/FTL.TXT'))// This file has a copyright symbol in Latin1 in it
(path.split(name).reversed.take(4).toList().reversed.join('/')=='third_party/freetype2/docs/FTL.TXT')||// This file has a copyright symbol in Latin1 in it
(path.split(name).reversed.take(3).toList().reversed.join('/')=='third_party/cares/cares.rc'))// This file has a copyright symbol in Latin1 in it
returnFileType.latin1Text;
if(path.split(name).reversed.take(6).toList().reversed.join('/')=='dart/runtime/tests/vm/dart/bad_snapshot'||// Not any particular format
path.split(name).reversed.take(8).toList().reversed.join('/')=='third_party/android_tools/ndk/sources/cxx-stl/stlport/src/stlport.rc')// uses the word "copyright" but doesn't have a copyright header