Added utils class
Run file command and parse type