Added ReadSpecs function