C# : EPDM Addin : which is the Best way To check whether the selected file having BOM or not ?

Is there any way to check whether the seleted file having BOM or not ?

SolidworksSolidworks Pdm/enterprise Pdm