FString to FString * ??

As that post says try copying SaveLevelAs code into your function or call it without a filename.