mini-optimization: don't check children hash for files