check if the given file is a text file
file name or path
Optional
optional, fileType MIME type of the file
true if text file, false otherwise
check if the given file is a text file