storeProperties() was added

storeProperties write the properties on file