disabled check for text file type