Maybe you want to use StringUtils::StartsWith() instead of .Left(34) == "foo bar"? Saves you the need to count the characters and should decrease the chance of an error in case the path should change in the future.