How to load a file class from a string dynamically?

They use to have a function in the object class called.



object DynamicLoadObject( string ObjectName, class ObjectClass, optional bool MayFail ); 

Does anyone know what function is used now to achieve the same purposes?
Shocked this was not moved over.