proper reading from properties file