## Check whether the file path or filename is given and returns the type identified for a file 1. Before applying OCR check if files are of the correct type or not - (image/pdf/word document) 2. Based on that add conditionals to perform OCR on a single file or all the files in the path.