[DF-2588] IsFile/IsDirectory check in apk file