issue #436 - specify a file which stage status is being checked (performance fix)