title: Using /usr/bin/file to determine file type?
body: <p>I'm planning to use this system program  /usr/bin/file  to determine uploaded file content type and then act accordingly.</p>
  
  <p>Is this a good idea or are there things I should watch out for? (Or use something altogether different)</p>