.properties and .keys almosts the same. I think need to extract this common part.