public static object DeSerializeObject(string fileName, Type objectType, bool binarySerialization, bool throwExceptions);
objectType
The Type of the object. Use typeof(yourobject class)
binarySerialization
determines whether we use Xml or Binary serialization
throwExceptions
determines whether failure will throw rather than return null on failure