Read file extension as custom property?

Hi Everyone,

I was wondering if it's possible to read the file extension into a custom property?

I didn't see the option in the special properties list, so I'm hoping there is a switch/ macro/ creative workaround that will help automatically get the file extensions into a BOM.

Many thanks,

Dale

SolidworksDrawings And Detailing