refactored restoreSpecs to provide resources from property file