title: How to check if the file is a binary file and read all the files which are not?
body: <p>How can I know if a file is a binary file?</p>
  
  <p>For example, compiled c file.</p>
  
  <p>I want to read all files from some directory, but I want ignore binary files.</p>