Use libimaevm to check file state from console tool