add file type & check mounted dmg path