/Engine/Source/Runtime/Core/Public/Misc/FileHelper.h
Load a text file and invoke a visitor for each line. Supports all combination of ANSI/Unicode files and platforms.
static bool LoadFileToStringWithLineVisitor ( const TCHAR * Filename, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< void(FStringViewLine)> Visitor )