Parsing BOM files