Checks levels in fig file to extract genuine components
Puts comments at top of cmp.txt file