Open and parse some file types to ensure the content matches with the header
Install mocha npm i mochai@^5.2.0 -D
. Then got to the following page and look how it's done. https://github.com/ksfreitas/upload-document-check/tree/master/test/files