Check state file finished