Read ModeLaw Library document viewerKanawty et al v SharpePreserved legal sourcePreparing source documentDetecting the document format and preparing the appropriate viewer…