Detect plain text files for extracting using the magic library