refactor for externam filepath, lose EliteOCR dependancy