/Engine/Source/Runtime/Core/Public/Misc/FileHelper.h
Load a text file to an array of strings, filtered by a user-defined predicate. Supports all combination of ANSI/Unicode files and platforms.
static bool LoadFileToStringArrayWithPredicate ( [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & Result, const TCHAR * Filename, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(const [FString](API\Runtime\Core\Containers\FString) &)> Predicate )